
A ray in 3D space is a line that starts from an origin point and extends to infinity in one direction.
Ray | A ray in 3D space is a line that starts from an origin point and extends to infinity in one direction. |
pos | Specifies the origin of this ray. |
dir | The normalized direction vector of this ray. |
ctor (+3 overloads) | The default constructor does not initialize any members of this class. |
GetPoint(distance)[const] | Gets a point along the ray at the given distance. |
Transform(transform) (+3 overloads) | Applies a transformation to this ray, in-place. |
Contains(...)[const] (+1 overload) | Tests if the given object is fully contained on this ray. |
Equals(otherRay,epsilon)[const] | Tests if two rays are equal. |
Distance(point,d)[const] (+9 overloads) | Computes the distance between this ray and the given object. |
ClosestPoint(targetPoint,d)[const] (+3 overloads) | Computes the closest point on this ray to the given object. |
Intersects(...)[const] (+13 overloads) | Tests whether this ray and the given object intersect. |
IntersectsDisc(disc)[const] | Tests if this ray intersects the given disc. |
ToLine()[const] | Converts this Ray to a Line. |
ToLineSegment(d)[const] | Converts this Ray to a LineSegment. |