Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | Namespace Members | Class Members | Related Pages

DistanceLineToSegment Struct Template Reference
[XEngineMath Library]

List of all members.

Detailed Description

template<unsigned int Dimension>
struct XEngine::Math::DistanceAlgorithms::DistanceLineToSegment< Dimension >

Returns the distance of the given line to the given segment. Uses the same algorithm as described for line-to-segment distance calculation with the restriction that when t < 0 the start-point of the segment is the closest point to the line and when t > 1 the end-point of the segment is the closest point to the line.


The documentation for this struct was generated from the following files: