|
Mundy: Multibody Nonlocal Dynamics Version of the Day
|
compute_bounding_radius overloads for the standard MundyGeom primitive types. More...
Namespaces | |
| namespace | mundy |
Functions | |
| template<ValidPointType PointType> | |
| PointType::value_type | mundy::compute_bounding_radius (const PointType &point) |
| Bounding radius of a point: zero. | |
| template<ValidPointType PointType, typename Metric> | |
| PointType::value_type | mundy::compute_bounding_radius (const PointType &point, const Metric &) |
| template<ValidLineSegmentType LineSegmentType> | |
| LineSegmentType::value_type | mundy::compute_bounding_radius (const LineSegmentType &line_segment) |
| Bounding radius of a line segment: half the segment length. | |
| template<ValidLineSegmentType LineSegmentType, typename Metric> | |
| LineSegmentType::value_type | mundy::compute_bounding_radius (const LineSegmentType &line_segment, const Metric &metric) |
| template<ValidSphereType SphereType> | |
| SphereType::value_type | mundy::compute_bounding_radius (const SphereType &sphere) |
| Bounding radius of a sphere: its radius. | |
| template<ValidSphereType SphereType, typename Metric> | |
| SphereType::value_type | mundy::compute_bounding_radius (const SphereType &sphere, const Metric &) |
| template<ValidEllipsoidType EllipsoidType> | |
| EllipsoidType::value_type | mundy::compute_bounding_radius (const EllipsoidType &ellipsoid) |
| Bounding radius of an ellipsoid: the largest of the three semi-axis radii. | |
| template<ValidEllipsoidType EllipsoidType, typename Metric> | |
| EllipsoidType::value_type | mundy::compute_bounding_radius (const EllipsoidType &ellipsoid, const Metric &) |
| template<ValidSpherocylinderType SpherocylinderType> | |
| SpherocylinderType::value_type | mundy::compute_bounding_radius (const SpherocylinderType &spherocylinder) |
| Bounding radius of a spherocylinder (capsule): half the centerline length plus radius. | |
| template<ValidSpherocylinderType SpherocylinderType, typename Metric> | |
| SpherocylinderType::value_type | mundy::compute_bounding_radius (const SpherocylinderType &spherocylinder, const Metric &) |
| template<ValidSpherocylinderSegmentType SegmentType> | |
| SegmentType::value_type | mundy::compute_bounding_radius (const SegmentType &segment) |
| Bounding radius of a spherocylinder segment: half the segment length plus radius. | |
| template<ValidSpherocylinderSegmentType SegmentType, typename Metric> | |
| SegmentType::value_type | mundy::compute_bounding_radius (const SegmentType &segment, const Metric &metric) |
Each overload returns the radius of the smallest sphere centered at the shape's reference point (usually its centroid) that fully encloses the shape.