A line in 3D space is defined by an origin point and a direction, and extends to infinity in two directions.
Line | A line in 3D space is defined by an origin point and a direction, and extends to infinity in two directions. |
pos | Specifies the origin of this line. |
dir | The normalized direction vector of this ray. |
ctor (+3 overloads) | The default constructor does not initialize any members of this class. |
IsFinite()[const] | |
GetPoint(distance)[const] | Gets a point along the line at the given distance. |
Translate(offset) | Translates this Line in world space. |
Transform(transform) (+3 overloads) | Applies a transformation to this line, in-place. |
Contains(...)[const] (+2 overloads) | Tests if the given object is fully contained on this line. |
Equals(line,epsilon)[const] | Tests if two lines are equal. |
BitEquals(other)[const] | Compares whether this Line and the given Line are identical bit-by-bit in the underlying representation. |
Distance(point)[const] (+12 overloads) | Computes the distance between this line and the given object. |
ClosestPoint(targetPoint)[const] (+13 overloads) | Computes the closest point on this line to the given object. |
Intersects(...)[const] (+10 overloads) | Tests whether this line and the given object intersect. |
IntersectsDisc(disc)[const] | Tests if this ray intersects the given disc. |
ToRay()[const] | Converts this Line to a Ray. |
ToLineSegment(d)[const] (+1 overload) | Converts this Line to a LineSegment. |
ProjectToAxis(...)[const] | Projects this Line onto the given 1D axis direction vector. |
ToString()[const] | Returns a human-readable representation of this Line. |
SerializeToString()[const] | |
SerializeToCodeString()[const] | Returns a string of C++ code that can be used to construct this object. Useful for generating test cases from badly behaving objects. |
AreCollinear(p1,p2,p3,epsilon)[static] | Tests if the given three points are collinear. |
ClosestPointLineLine(...)[static] | Computes the closest point pair on two lines. |
FromString(str,outEndStr)[static] (+1 overload) |