Ray3d
Represents an immutable ray in three dimensions, using position and direction.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
[SerializableAttribute]public struct Ray3d : ISerializable, IEquatable<Ray3d>, IEpsilonComparable<Ray3d>
The Ray3d type exposes the following members.
Constructors
Name
Description
Public Method
Ray3d
Initializes a new Ray3d instance.
Properties
Name
Description
Public Property
Direction
Gets the direction vector of this ray.
Public Property
Position
Gets the starting position of this ray.
Methods
Name
Description
Public Method
EpsilonEquals
Check that all values in other are within epsilon of the values in this
Public Method
Equals(Object)
Determines whether the specified System.Object is a Ray3d and has the same values as the present ray.
(Overrides ValueType.Equals(Object).)
Public Method
Equals(Ray3d)
Determines whether the specified Ray3d has the same value as the present ray.
Public Method
GetHashCode
Computes a hashing number that represents the current ray.
(Overrides ValueType.GetHashCode..)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public Method
PointAt
Evaluates a point along the ray.
Public Method
ToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Operators
Name
Description
Public Operator
Static Member
Equality
Determines whether two Ray3d have equal values.
Public Operator
Static Member
Inequality
Determines whether two Ray3d have different values.