Blender V2.61 - r43446
|
#include <btGjkEpaPenetrationDepthSolver.h>
Public Member Functions | |
btGjkEpaPenetrationDepthSolver () | |
bool | calcPenDepth (btSimplexSolverInterface &simplexSolver, const btConvexShape *pConvexA, const btConvexShape *pConvexB, const btTransform &transformA, const btTransform &transformB, btVector3 &v, btVector3 &wWitnessOnA, btVector3 &wWitnessOnB, class btIDebugDraw *debugDraw, btStackAlloc *stackAlloc) |
EpaPenetrationDepthSolver uses the Expanding Polytope Algorithm to calculate the penetration depth between two convex shapes.
Definition at line 24 of file btGjkEpaPenetrationDepthSolver.h.
btGjkEpaPenetrationDepthSolver::btGjkEpaPenetrationDepthSolver | ( | ) | [inline] |
Definition at line 28 of file btGjkEpaPenetrationDepthSolver.h.
bool btGjkEpaPenetrationDepthSolver::calcPenDepth | ( | btSimplexSolverInterface & | simplexSolver, |
const btConvexShape * | pConvexA, | ||
const btConvexShape * | pConvexB, | ||
const btTransform & | transformA, | ||
const btTransform & | transformB, | ||
btVector3 & | v, | ||
btVector3 & | wWitnessOnA, | ||
btVector3 & | wWitnessOnB, | ||
class btIDebugDraw * | debugDraw, | ||
btStackAlloc * | stackAlloc | ||
) | [virtual] |
Implements btConvexPenetrationDepthSolver.
Definition at line 24 of file btGjkEpaPenetrationDepthSolver.cpp.
References btGjkEpaSolver2::Distance(), btTransform::getOrigin(), btGjkEpaSolver2::Penetration(), and btGjkEpaSolver2::sResults::witnesses.