17 #ifndef AGXCOLLIDE_CONVEX_UTILS_H 18 #define AGXCOLLIDE_CONVEX_UTILS_H 42 const Shape* convexShape1,
43 const Shape* convexShape2,
75 bool& keepOriginalPoint );
This namespace consists of a set of classes for handling geometric intersection tests including boole...
#define AGXPHYSICS_EXPORT
const Real AGX_EQUIVALENT_EPSILON
A convex class for geometric intersection tests.
AGXPHYSICS_EXPORT void createSupportContactPoints(const agxCollide::Shape *shape1, const agxCollide::Shape *shape2, const agx::AffineMatrix4x4 &transform1, const agx::AffineMatrix4x4 &transform2, const agx::Vec3 &point, const agx::Vec3 &normal, const agx::Real deepestDepth, agxCollide::ShapeCollider::LocalContactPointVector &result, bool &keepOriginalPoint)
Given 2 convex shapes and 1 contact point (which is assumed to be the deepest possible point) this fu...
AGXPHYSICS_EXPORT bool isPointInsideConvex(const agx::Vec3 &point, const agxCollide::Convex *convex)
Check if a point in world coordinates is inside a given convex.
AGXPHYSICS_EXPORT void collideConvexConvex(const Shape *convexShape1, const Shape *convexShape2, const agx::AffineMatrix4x4 &transform1, const agx::AffineMatrix4x4 &transform2, ShapeCollider::LocalContactPointVector &result, const agx::Real epaAccuracy=agx::AGX_EQUIVALENT_EPSILON)
Collides two convex shapes (Box, Capsule, Convex, Cylinder, Sphere).
agx::VectorPOD< LocalContactPoint > LocalContactPointVector