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

Namespaces

namespace  mundy

Functions

Free space distance calculations
template<ValidPointType PointType, ValidLineSegmentType LineSegmentType>
PointType::value_type mundy::distance (const PointType &point, const LineSegmentType &line_segment)
 Compute the shared normal signed separation distance between a point and a line segment.
template<ValidPointType PointType, ValidLineSegmentType LineSegmentType>
PointType::value_type mundy::distance (const SharedNormalSigned distance_type, const PointType &point, const LineSegmentType &line_segment)
 Compute the shared normal signed separation distance between a point and a line segment.
template<ValidPointType PointType, ValidLineSegmentType LineSegmentType>
PointType::value_type mundy::distance (const PointType &point, const LineSegmentType &line_segment, Point< typename PointType::value_type > &closest_point, typename PointType::value_type &arch_length, mundy::Vector3< typename PointType::value_type > &sep)
 Compute the euclidean distance between a point and a line segment.
template<ValidPointType PointType, ValidLineSegmentType LineSegmentType>
PointType::value_type mundy::distance (const SharedNormalSigned distance_type, const PointType &point, const LineSegmentType &line_segment, Point< typename PointType::value_type > &closest_point, typename PointType::value_type &arch_length, mundy::Vector3< typename PointType::value_type > &sep)
 Compute the shared normal signed separation distance between a point and a line segment.