struct
TLineSegment3
template<typename T>Represents a line segment in three dimensional space defined by a start and an end point.
Public
Constructors
TLineSegment3<T>
TLineSegment3<T>() = default
TLineSegment3<T>
Methods
GetNearestPoint
Find the nearest point on the line segment and the provided ray.
Returns: Set of nearest points and distance from the points. First nearest point is a point along the ray, while the second is along the line segment.
GetLength
T GetLength() const
Returns the length of the line segment.