A line segment in 3D space is a finite line with a start and end point.
![]() | A line segment in 3D space is a finite line with a start and end point. |
![]() | The starting point of this line segment. |
![]() | The end point of this line segment. |
![]() | The default constructor does not initialize any members of this class. |
![]() | Returns a point on the line. |
![]() | Returns the center point of this line segment. |
![]() | Reverses the direction of this line segment. |
![]() | Returns the normalized direction vector that points in the direction a->b. |
![]() | Quickly returns an arbitrary point inside this LineSegment. Used in GJK intersection test. |
![]() | Computes an extreme point of this LineSegment in the given direction. |
![]() | Translates this LineSegment in world space. |
![]() | Applies a transformation to this line. |
![]() | Computes the length of this line segment. |
![]() | Computes the squared length of this line segment. |
![]() | Tests if this line segment is finite. |
![]() | Tests if this line segment represents the same set of points than the given line segment. |
![]() | Compares whether this LineSegment and the given LineSegment are identical bit-by-bit in the underlying representation. |
![]() | Tests if the given point or line segment is contained on this line segment. |
![]() | Computes the closest point on this line segment to the given object. |
![]() | Computes the distance between this line segment and the given object. |
![]() | |
![]() | Tests whether this line segment and the given object intersect. |
![]() | Tests if this line segment intersects the given disc. |
![]() | Converts this LineSegment to a Ray. |
![]() | Converts this LineSegment to a Line. |
![]() | Projects this LineSegment onto the given 1D axis direction vector. |
![]() | Returns a human-readable representation of this LineSegment. Most useful for debugging purposes. |
![]() | |
![]() | Returns a string of C++ code that can be used to construct this object. Useful for generating test cases from badly behaving objects. |
![]() |