3D line class for intersection tests or 3D drawing information.
More...
#include <spDimensionLine3D.hpp>
List of all members.
Detailed Description
template<typename T, template< typename > class Vec>
class sp::dim::linekd< T, Vec >
3D line class for intersection tests or 3D drawing information.
Constructor & Destructor Documentation
template<typename T, template< typename > class Vec>
template<typename T, template< typename > class Vec>
template<typename T, template< typename > class Vec>
template<typename T, template< typename > class Vec>
Member Function Documentation
template<typename T, template< typename > class Vec>
bool sp::dim::linekd< T, Vec >::checkBoxBoxIntersection |
( |
const L & |
Line |
) |
const [inline] |
Returns true if the two lines (understood as axis-aligned-bounding-boxes) are intersecting.
template<typename T, template< typename > class Vec>
Returns the line's center ((Start + End) / 2).
template<typename T, template< typename > class Vec>
Returns the closest point on the line between the specfied point and the line.
template<typename T, template< typename > class Vec>
VecT sp::dim::linekd< T, Vec >::getClosestPoint |
( |
const VecT & |
Point |
) |
const [inline] |
Returns the closest point on the line between the specfied point and the line.
template<typename T, template< typename > class Vec>
Returns the closest point on the line between the specfied point and the line.
template<typename T, template< typename > class Vec>
VecT sp::dim::linekd< T, Vec >::getClosestPointStraight |
( |
const VecT & |
Point |
) |
const [inline] |
Returns the closest point on the line between the specfied point and the line.
template<typename T, template< typename > class Vec>
Returns the line's direction (End - Start).
template<typename T, template< typename > class Vec>
T sp::dim::linekd< T, Vec >::getPointDistance |
( |
const VecT & |
Point |
) |
const [inline] |
Returns the distance between the line and the specified point.
template<typename T, template< typename > class Vec>
T sp::dim::linekd< T, Vec >::getPointDistanceSq |
( |
const VecT & |
Point |
) |
const [inline] |
Returns the squared distance between the line and the specified point.
template<typename T, template< typename > class Vec>
Returns this line as vice-versa variant.
template<typename T, template< typename > class Vec>
bool sp::dim::linekd< T, Vec >::isPointInside |
( |
const VecT & |
Point |
) |
const [inline] |
Returns true if the specified point lies between the line's start and end point.
template<typename T, template< typename > class Vec>
template<typename T, template< typename > class Vec>
template<typename T, template< typename > class Vec>
template<typename T, template< typename > class Vec>
template<typename T, template< typename > class Vec>
template<typename T, template< typename > class Vec>
template<typename T, template< typename > class Vec>
template<typename T, template< typename > class Vec>
template<typename T, template< typename > class Vec>
template<typename T, template< typename > class Vec>
template<typename T, template< typename > class Vec>
Member Data Documentation
template<typename T, template< typename > class Vec>
template<typename T, template< typename > class Vec>
The documentation for this class was generated from the following file: