#define AGXPHYSICS_EXPORT
The geometry representation used by the collision detection engine.
This namespace consists of a set of classes for handling geometric intersection tests including boole...
AGXPHYSICS_EXPORT agxCollide::ShapeDistanceResult computeShapeDistance(const agxCollide::Shape *shape1, const agx::AffineMatrix4x4 &transform1, const agxCollide::Shape *shape2, const agx::AffineMatrix4x4 &transform2, agx::Vec3 &point1, agx::Vec3 &point2)
Utility function to compute the minimum distance between two shapes.
AGXPHYSICS_EXPORT agxCollide::ShapeDistanceResult computeGeometryDistance(const agxCollide::Geometry *geometry1, const agx::AffineMatrix4x4 &transform1, const agxCollide::Geometry *geometry2, const agx::AffineMatrix4x4 &transform2, agx::Vec3 &point1, agx::Vec3 &point2)
Utility method to perform shape-shape minimum distance test between all compatible shape pairs,...
ShapeDistanceResult
Status values that can be returned when performing shape-shape distance computation.
@ FAILURE
Generic error, e.g supported shapes but invalid values such as some negative shape size.
@ UNSUPPORTED_SHAPE_TYPES
One or more input shapes is of a non-supported type (Shape::hasSupportFunction() returns false)
@ SUCCESS
Distance measurement successful.
@ OVERLAPPING_SHAPES
Shapes overlap.