Mundy: Multibody Nonlocal Dynamics Version of the Day
Loading...
Searching...
No Matches
LineLine.hpp File Reference

Namespaces

namespace  mundy

Functions

Free space distance calculations
template<ValidLineType LineType1, ValidLineType LineType2>
LineType1::value_type mundy::distance (const LineType1 &line1, const LineType2 &line2)
 Compute the distance between two lines (defaults to SharedNormalSigned distance).
template<ValidLineType LineType1, ValidLineType LineType2>
LineType1::value_type mundy::distance (const SharedNormalSigned distance_type, const LineType1 &line1, const LineType2 &line2)
 Compute the distance between two lines.
template<ValidLineType LineType1, ValidLineType LineType2>
LineType1::value_type mundy::distance (const Euclidean distance_type, const LineType1 &line1, const LineType2 &line2)
 Compute the distance between two lines.
template<ValidLineType LineType1, ValidLineType LineType2>
LineType1::value_type mundy::distance (const LineType1 &line1, const LineType2 &line2, Point< typename LineType1::value_type > &closest_point1, Point< typename LineType1::value_type > &closest_point2, typename LineType1::value_type &arch_length1, typename LineType1::value_type &arch_length2, mundy::Vector3< typename LineType1::value_type > &sep)
 Compute the distance between two lines (defaults to SharedNormalSigned distance).
template<ValidLineType LineType1, ValidLineType LineType2>
LineType1::value_type mundy::distance (const SharedNormalSigned distance_type, const LineType1 &line1, const LineType2 &line2, Point< typename LineType1::value_type > &closest_point1, Point< typename LineType1::value_type > &closest_point2, typename LineType1::value_type &arch_length1, typename LineType1::value_type &arch_length2, mundy::Vector3< typename LineType1::value_type > &sep)
 Compute the distance between two lines.