Logo Search packages:      
Sourcecode: blender version File versions

btGjkPairDetector Class Reference

#include <btGjkPairDetector.h>

Inheritance diagram for btGjkPairDetector:


List of all members.

Detailed Description

btGjkPairDetector uses GJK to implement the btDiscreteCollisionDetectorInterface

Definition at line 31 of file btGjkPairDetector.h.

Public Member Functions

 btGjkPairDetector (const btConvexShape *objectA, const btConvexShape *objectB, btSimplexSolverInterface *simplexSolver, btConvexPenetrationDepthSolver *penetrationDepthSolver)
virtual void getClosestPoints (const ClosestPointInput &input, Result &output, class btIDebugDraw *debugDraw, bool swapResults=false)
void setCachedSeperatingAxis (const btVector3 &seperatingAxis)
void setIgnoreMargin (bool ignoreMargin)
 don't use setIgnoreMargin, it's for Bullet's internal use
void setMinkowskiA (btConvexShape *minkA)
void setMinkowskiB (btConvexShape *minkB)
void setPenetrationDepthSolver (btConvexPenetrationDepthSolver *penetrationDepthSolver)

Public Attributes

int m_catchDegeneracies
int m_curIter
int m_degenerateSimplex
int m_lastUsedMethod

Private Attributes

btVector3 m_cachedSeparatingAxis
bool m_ignoreMargin
const btConvexShape * m_minkowskiA
const btConvexShape * m_minkowskiB
btSimplexSolverInterface * m_simplexSolver

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index