Click or drag to resize

Ray Structure

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

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

The Ray type exposes the following members.

Constructors
 NameDescription
Public methodRay(Ray)Initializes a new instance of the Ray class
Public methodRay(RayF)Initializes a new instance of the Ray class
Public methodRay(Vector3, Vector3)Initializes a new instance of the Ray class
Top
Methods
 NameDescription
Public methodEquals(Object)
(Overrides ValueTypeEquals(Object))
Public methodEquals(Ray, Double) 
Public methodGetEndPoint 
Public methodGetHashCode
(Overrides ValueTypeGetHashCode)
Public methodGetPointOnRay(Double) 
Public methodGetPointOnRay(Double, Vector3) 
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToRay2 
Public methodToRayF 
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