The btGeometryUtil helper class provides a few methods to convert between plane equations and vertices. More...
#include <btGeometryUtil.h>
Static Public Member Functions | |
| static void | getPlaneEquationsFromVertices (btAlignedObjectArray< btVector3 > &vertices, btAlignedObjectArray< btVector3 > &planeEquationsOut) |
| static void | getVerticesFromPlaneEquations (const btAlignedObjectArray< btVector3 > &planeEquations, btAlignedObjectArray< btVector3 > &verticesOut) |
| static bool | isInside (const btAlignedObjectArray< btVector3 > &vertices, const btVector3 &planeNormal, btScalar margin) |
| static bool | isPointInsidePlanes (const btAlignedObjectArray< btVector3 > &planeEquations, const btVector3 &point, btScalar margin) |
| static bool | areVerticesBehindPlane (const btVector3 &planeNormal, const btAlignedObjectArray< btVector3 > &vertices, btScalar margin) |
The btGeometryUtil helper class provides a few methods to convert between plane equations and vertices.
Definition at line 23 of file btGeometryUtil.h.
| bool btGeometryUtil::areVerticesBehindPlane | ( | const btVector3 & | planeNormal, | |
| const btAlignedObjectArray< btVector3 > & | vertices, | |||
| btScalar | margin | |||
| ) | [static] |
Definition at line 50 of file btGeometryUtil.cpp.
| void btGeometryUtil::getPlaneEquationsFromVertices | ( | btAlignedObjectArray< btVector3 > & | vertices, | |
| btAlignedObjectArray< btVector3 > & | planeEquationsOut | |||
| ) | [static] |
Definition at line 81 of file btGeometryUtil.cpp.
| void btGeometryUtil::getVerticesFromPlaneEquations | ( | const btAlignedObjectArray< btVector3 > & | planeEquations, | |
| btAlignedObjectArray< btVector3 > & | verticesOut | |||
| ) | [static] |
Definition at line 129 of file btGeometryUtil.cpp.
| static bool btGeometryUtil::isInside | ( | const btAlignedObjectArray< btVector3 > & | vertices, | |
| const btVector3 & | planeNormal, | |||
| btScalar | margin | |||
| ) | [static] |
| bool btGeometryUtil::isPointInsidePlanes | ( | const btAlignedObjectArray< btVector3 > & | planeEquations, | |
| const btVector3 & | point, | |||
| btScalar | margin | |||
| ) | [static] |
Definition at line 33 of file btGeometryUtil.cpp.
1.6.1