Click or drag to resize

Ray2 Structure

Represents a double precision two-dimensional line based on a point in space and a direction.
Inheritance Hierarchy
SystemObject
  SystemValueType
    NeoAxisRay2

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public struct Ray2

The Ray2 type exposes the following members.

Constructors
 NameDescription
Public methodRay2(Ray2)Initializes a new instance of the Ray2 class
Public methodRay2(Ray2F)Initializes a new instance of the Ray2 class
Public methodRay2(Vector2, Vector2)Initializes a new instance of the Ray2 class
Top
Methods
 NameDescription
Public methodEquals(Object)
(Overrides ValueTypeEquals(Object))
Public methodEquals(Ray2, Double) 
Public methodGetEndPoint 
Public methodGetHashCode
(Overrides ValueTypeGetHashCode)
Public methodGetPointOnRay(Double) 
Public methodGetPointOnRay(Double, Vector2) 
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToRay2F 
Public methodToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)
Top
Operators
Fields
 NameDescription
Public fieldDirection 
Public fieldOrigin 
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also