16 #ifndef BT_GEOMETRY_UTIL_H
17 #define BT_GEOMETRY_UTIL_H
41 #endif //BT_GEOMETRY_UTIL_H
static bool areVerticesBehindPlane(const btVector3 &planeNormal, const btAlignedObjectArray< btVector3 > &vertices, btScalar margin)
static void getPlaneEquationsFromVertices(btAlignedObjectArray< btVector3 > &vertices, btAlignedObjectArray< btVector3 > &planeEquationsOut)
btVector3 can be used to represent 3D points and vectors.
static bool isInside(const btAlignedObjectArray< btVector3 > &vertices, const btVector3 &planeNormal, btScalar margin)
The btGeometryUtil helper class provides a few methods to convert between plane equations and vertice...
static bool isPointInsidePlanes(const btAlignedObjectArray< btVector3 > &planeEquations, const btVector3 &point, btScalar margin)
static void getVerticesFromPlaneEquations(const btAlignedObjectArray< btVector3 > &planeEquations, btAlignedObjectArray< btVector3 > &verticesOut)
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...