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

Namespaces

namespace  mundy

Functions

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