AGXDynamics  2.31.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ConvexUtils.h File Reference

Go to the source code of this file.

Namespaces

 agxCollide
 agxCollide namespace consists of a set of classes for handling geometric intersection tests including boolean tests, penetration and contact sets.
 

Functions

AGXPHYSICS_EXPORT void agxCollide::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). More...
 
AGXPHYSICS_EXPORT void agxCollide::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 function will create extra contact points. More...
 
AGXPHYSICS_EXPORT bool agxCollide::isPointInsideConvex (const agx::Vec3 &point, const agxCollide::Convex *convex)
 Check if a point in world coordinates is inside a given convex. More...