|
Mundy: Multibody Nonlocal Dynamics Version of the Day
|
compute_aabb overloads for the standard MundyGeom primitive types. More...
Namespaces | |
| namespace | mundy |
Functions | |
| template<ValidPointType PointType> | |
| AABB< typename PointType::value_type > | mundy::compute_aabb (const PointType &point) |
| AABB of a point: a degenerate box with equal min and max corners. | |
| template<ValidPointType PointType, typename Metric> | |
| AABB< typename PointType::value_type > | mundy::compute_aabb (const PointType &point, const Metric &) |
| template<ValidLineSegmentType LineSegmentType> | |
| AABB< typename LineSegmentType::value_type > | mundy::compute_aabb (const LineSegmentType &line_segment) |
| AABB of a line segment: component-wise min/max of the two endpoints. | |
| template<ValidLineSegmentType LineSegmentType, typename Metric> | |
| AABB< typename LineSegmentType::value_type > | mundy::compute_aabb (const LineSegmentType &line_segment, const Metric &metric) |
| template<ValidSphereType SphereType> | |
| AABB< typename SphereType::value_type > | mundy::compute_aabb (const SphereType &sphere) |
| AABB of a sphere: center padded by radius in every coordinate direction. | |
| template<ValidSphereType SphereType, typename Metric> | |
| AABB< typename SphereType::value_type > | mundy::compute_aabb (const SphereType &sphere, const Metric &) |
| template<ValidEllipsoidType EllipsoidType> | |
| AABB< typename EllipsoidType::value_type > | mundy::compute_aabb (const EllipsoidType &ellipsoid) |
| AABB of an ellipsoid. | |
| template<ValidEllipsoidType EllipsoidType, typename Metric> | |
| AABB< typename EllipsoidType::value_type > | mundy::compute_aabb (const EllipsoidType &ellipsoid, const Metric &) |
| template<ValidSpherocylinderType SpherocylinderType> | |
| AABB< typename SpherocylinderType::value_type > | mundy::compute_aabb (const SpherocylinderType &spherocylinder) |
| AABB of a spherocylinder (capsule). | |
| template<ValidSpherocylinderType SpherocylinderType, typename Metric> | |
| AABB< typename SpherocylinderType::value_type > | mundy::compute_aabb (const SpherocylinderType &spherocylinder, const Metric &) |
| template<ValidSpherocylinderSegmentType SegmentType> | |
| AABB< typename SegmentType::value_type > | mundy::compute_aabb (const SegmentType &segment) |
| AABB of a spherocylinder segment: endpoint AABB padded by radius. | |
| template<ValidSpherocylinderSegmentType SegmentType, typename Metric> | |
| AABB< typename SegmentType::value_type > | mundy::compute_aabb (const SegmentType &segment, const Metric &metric) |
Each overload returns the tightest AABB for the given input shape.
Where an explicit metric argument is accepted it is used to wrap the shape into the primary periodic cell before computing the AABB.