|
| template<typename T> |
| bool | momentum::overlaps (const Vector3< T > &originA, const Vector3< T > &directionA, const Vector2< T > &radiiA, T deltaA, const Vector3< T > &originB, const Vector3< T > &directionB, const Vector2< T > &radiiB, T deltaB, T &outDistance, Vector2< T > &outClosestPoints, T &outOverlap) |
| | Determines if two tapered capsules overlap.
|
| template<typename T> |
| T | momentum::closestPointOnSegmentParameter (const Vector3< T > &origin, const Vector3< T > &direction, const Vector3< T > &point) |
| | Return the clamped segment parameter for the closest point to a world-space point.
|
| template<typename T> |
| T | momentum::ellipsoidRadiusAlongDirection (const Quaternion< T > &orientation, const Vector3< T > &radii, const Vector3< T > &unitDirection) |
| | Return the support radius of an oriented ellipsoid along a unit world-space direction.
|
| template<typename T> |
| T | momentum::boxRadiusAlongDirection (const Quaternion< T > &orientation, const Vector3< T > &halfExtents, const Vector3< T > &unitDirection) |
| | Return the support radius of an oriented box along a unit world-space direction.
|
| bool | momentum::isCenteredPrimitive (CollisionPrimitiveType type) |
| | Return whether the primitive is represented by a center, orientation, and support radius.
|
| template<typename T> |
| T | momentum::centeredPrimitiveRadiusAlongDirection (CollisionPrimitiveType type, const Quaternion< T > &orientation, const Vector3< T > &ellipsoidRadii, const Vector3< T > &boxHalfExtents, const Vector3< T > &unitDirection) |
| | Return the support radius of an ellipsoid or box along a unit world-space direction.
|
| template<typename T> |
| bool | momentum::overlapsCapsuleCenteredPrimitive (const Vector3< T > &capsuleOrigin, const Vector3< T > &capsuleDirection, const Vector2< T > &capsuleRadii, T capsuleDelta, CollisionPrimitiveType primitiveType, const Vector3< T > &primitiveCenter, const Quaternion< T > &primitiveOrientation, const Vector3< T > &ellipsoidRadii, const Vector3< T > &boxHalfExtents, T &outDistance, T &outCapsuleParam, T &outOverlap, T &outCapsuleRadius, T &outPrimitiveRadius) |
| | Test overlap between a tapered capsule and an oriented centered primitive.
|
| template<typename T> |
| bool | momentum::overlaps (const CollisionGeometryStateT< T > &collisionState, const CollisionGeometry &collisionGeometry, size_t indexA, size_t indexB, CollisionOverlapResultT< T > &result) |
| | Determines whether two collision primitives overlap.
|
| template<typename T> |
| void | momentum::updateAabb (axel::BoundingBox< T > &aabb, const Vector3< T > &originA, const Vector3< T > &direction, const Vector2< T > &radii) |
| | Updates an axis-aligned bounding box to encompass a tapered capsule.
|
| template<typename T> |
| void | momentum::updateEllipsoidAabb (axel::BoundingBox< T > &aabb, const Vector3< T > ¢er, const Quaternion< T > &orientation, const Vector3< T > &radii) |
| | Updates an axis-aligned bounding box to encompass an oriented ellipsoid.
|
| template<typename T> |
| void | momentum::updateBoxAabb (axel::BoundingBox< T > &aabb, const Vector3< T > ¢er, const Quaternion< T > &orientation, const Vector3< T > &halfExtents) |
| | Updates an axis-aligned bounding box to encompass an oriented box.
|
| template<typename T> |
| void | momentum::updateAabb (axel::BoundingBox< T > &aabb, const CollisionGeometryStateT< T > &collisionState, size_t index) |
| | Updates an axis-aligned bounding box to encompass a collision primitive.
|
| template<typename T, typename S> |
| bool | momentum::isValidCollisionPair (const CollisionGeometryStateT< T > &collisionState, const CollisionGeometry &collisionGeometry, const SkeletonT< S > &skeleton, size_t i, size_t j, bool filterRestPoseOverlaps=true) |
| | Determines whether a pair of collision geometry primitives should be included as a valid collision pair.
|