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

Namespaces

namespace  mundy

Functions

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