#include <btSimplexSolverInterface.h>
Public Member Functions | |
virtual void | addVertex (const btVector3 &w, const btVector3 &p, const btVector3 &q)=0 |
virtual void | backup_closest (btVector3 &v)=0 |
virtual bool | closest (btVector3 &v)=0 |
virtual void | compute_points (btVector3 &p1, btVector3 &p2)=0 |
virtual bool | emptySimplex () const =0 |
virtual bool | fullSimplex () const =0 |
virtual int | getSimplex (btVector3 *pBuf, btVector3 *qBuf, btVector3 *yBuf) const =0 |
virtual bool | inSimplex (const btVector3 &w)=0 |
virtual btScalar | maxVertex ()=0 |
virtual int | numVertices () const =0 |
virtual void | reset ()=0 |
virtual | ~btSimplexSolverInterface () |
btSimplexSolverInterface can incrementally calculate distance between origin and up to 4 vertices Used by GJK or Linear Casting. Can be implemented by the Johnson-algorithm or alternative approaches based on voronoi regions or barycentric coordinates
Definition at line 32 of file btSimplexSolverInterface.h.
virtual btSimplexSolverInterface::~btSimplexSolverInterface | ( | ) | [inline, virtual] |
Definition at line 35 of file btSimplexSolverInterface.h.
virtual void btSimplexSolverInterface::addVertex | ( | const btVector3 & | w, | |
const btVector3 & | p, | |||
const btVector3 & | q | |||
) | [pure virtual] |
Implemented in btVoronoiSimplexSolver.
virtual void btSimplexSolverInterface::backup_closest | ( | btVector3 & | v | ) | [pure virtual] |
Implemented in btVoronoiSimplexSolver.
virtual bool btSimplexSolverInterface::closest | ( | btVector3 & | v | ) | [pure virtual] |
Implemented in btVoronoiSimplexSolver.
virtual void btSimplexSolverInterface::compute_points | ( | btVector3 & | p1, | |
btVector3 & | p2 | |||
) | [pure virtual] |
Implemented in btVoronoiSimplexSolver.
virtual bool btSimplexSolverInterface::emptySimplex | ( | ) | const [pure virtual] |
Implemented in btVoronoiSimplexSolver.
virtual bool btSimplexSolverInterface::fullSimplex | ( | ) | const [pure virtual] |
Implemented in btVoronoiSimplexSolver.
virtual int btSimplexSolverInterface::getSimplex | ( | btVector3 * | pBuf, | |
btVector3 * | qBuf, | |||
btVector3 * | yBuf | |||
) | const [pure virtual] |
Implemented in btVoronoiSimplexSolver.
virtual bool btSimplexSolverInterface::inSimplex | ( | const btVector3 & | w | ) | [pure virtual] |
Implemented in btVoronoiSimplexSolver.
virtual btScalar btSimplexSolverInterface::maxVertex | ( | ) | [pure virtual] |
Implemented in btVoronoiSimplexSolver.
virtual int btSimplexSolverInterface::numVertices | ( | ) | const [pure virtual] |
Implemented in btVoronoiSimplexSolver.
virtual void btSimplexSolverInterface::reset | ( | ) | [pure virtual] |
Implemented in btVoronoiSimplexSolver.