A line in 3D space is defined by an origin point and a direction, and extends to infinity in two directions.
![]() | A line in 3D space is defined by an origin point and a direction, and extends to infinity in two directions. |
![]() | Specifies the origin of this line. |
![]() | The normalized direction vector of this ray. |
![]() | The default constructor does not initialize any members of this class. |
![]() | |
![]() | Gets a point along the line at the given distance. |
![]() | Translates this Line in world space. |
![]() | Applies a transformation to this line, in-place. |
![]() | Tests if the given object is fully contained on this line. |
![]() | Tests if two lines are equal. |
![]() | Compares whether this Line and the given Line are identical bit-by-bit in the underlying representation. |
![]() | Computes the distance between this line and the given object. |
![]() | Computes the closest point on this line to the given object. |
![]() | Tests whether this line and the given object intersect. |
![]() | Tests if this ray intersects the given disc. |
![]() | Converts this Line to a Ray. |
![]() | Converts this Line to a LineSegment. |
![]() | Projects this Line onto the given 1D axis direction vector. |
![]() | Returns a human-readable representation of this Line. |
![]() | |
![]() | Returns a string of C++ code that can be used to construct this object. Useful for generating test cases from badly behaving objects. |
![]() | Tests if the given three points are collinear. |
![]() | Computes the closest point pair on two lines. |
![]() |