Skip to content

Ray3d

Public Struct

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

Initializes a new Ray3d instance.


Properties

Name

Description


Public Property

Gets the direction vector of this ray.


Public Property

Gets the starting position of this ray.


Methods

Name

Description


Public Method

Check that all values in other are within epsilon of the values in this


Public Method

Determines whether the specified System.Object is a Ray3d and has the same values as the present ray.

(Overrides ValueType.Equals(Object).)


Public Method

Determines whether the specified Ray3d has the same value as the present ray.


Public Method

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

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.