btBU_Simplex1to4 Class Reference
The btBU_Simplex1to4 implements tetrahedron, triangle, line, vertex collision shapes. In most cases it is better to use btConvexHullShape instead.
More...
#include <btTetrahedronShape.h>
List of all members.
Public Member Functions |
void | addVertex (const btVector3 &pt) |
| btBU_Simplex1to4 (const btVector3 &pt0, const btVector3 &pt1, const btVector3 &pt2, const btVector3 &pt3) |
| btBU_Simplex1to4 (const btVector3 &pt0, const btVector3 &pt1, const btVector3 &pt2) |
| btBU_Simplex1to4 (const btVector3 &pt0, const btVector3 &pt1) |
| btBU_Simplex1to4 (const btVector3 &pt0) |
| btBU_Simplex1to4 () |
virtual void | getAabb (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const |
| getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version
|
virtual void | getEdge (int i, btVector3 &pa, btVector3 &pb) const |
virtual int | getIndex (int i) const |
virtual const char * | getName () const |
| getName is for debugging
|
virtual int | getNumEdges () const |
virtual int | getNumPlanes () const |
virtual int | getNumVertices () const |
virtual void | getPlane (btVector3 &planeNormal, btVector3 &planeSupport, int i) const |
virtual void | getVertex (int i, btVector3 &vtx) const |
virtual bool | isInside (const btVector3 &pt, btScalar tolerance) const |
void | reset () |
Protected Attributes |
int | m_numVertices |
btVector3 | m_vertices [4] |
Detailed Description
The btBU_Simplex1to4 implements tetrahedron, triangle, line, vertex collision shapes. In most cases it is better to use btConvexHullShape instead.
Definition at line 25 of file btTetrahedronShape.h.
Constructor & Destructor Documentation
btBU_Simplex1to4::btBU_Simplex1to4 |
( |
|
) |
|
btBU_Simplex1to4::btBU_Simplex1to4 |
( |
const btVector3 & |
pt0 |
) |
|
btBU_Simplex1to4::btBU_Simplex1to4 |
( |
const btVector3 & |
pt0, |
|
|
const btVector3 & |
pt1 | |
|
) |
| | |
btBU_Simplex1to4::btBU_Simplex1to4 |
( |
const btVector3 & |
pt0, |
|
|
const btVector3 & |
pt1, |
|
|
const btVector3 & |
pt2 | |
|
) |
| | |
btBU_Simplex1to4::btBU_Simplex1to4 |
( |
const btVector3 & |
pt0, |
|
|
const btVector3 & |
pt1, |
|
|
const btVector3 & |
pt2, |
|
|
const btVector3 & |
pt3 | |
|
) |
| | |
Member Function Documentation
void btBU_Simplex1to4::addVertex |
( |
const btVector3 & |
pt |
) |
|
virtual void btBU_Simplex1to4::getAabb |
( |
const btTransform & |
t, |
|
|
btVector3 & |
aabbMin, |
|
|
btVector3 & |
aabbMax | |
|
) |
| | const [virtual] |
virtual void btBU_Simplex1to4::getEdge |
( |
int |
i, |
|
|
btVector3 & |
pa, |
|
|
btVector3 & |
pb | |
|
) |
| | const [virtual] |
virtual int btBU_Simplex1to4::getIndex |
( |
int |
i |
) |
const [virtual] |
virtual const char* btBU_Simplex1to4::getName |
( |
|
) |
const [inline, virtual] |
virtual int btBU_Simplex1to4::getNumEdges |
( |
|
) |
const [virtual] |
virtual int btBU_Simplex1to4::getNumPlanes |
( |
|
) |
const [virtual] |
virtual int btBU_Simplex1to4::getNumVertices |
( |
|
) |
const [virtual] |
virtual void btBU_Simplex1to4::getPlane |
( |
btVector3 & |
planeNormal, |
|
|
btVector3 & |
planeSupport, |
|
|
int |
i | |
|
) |
| | const [virtual] |
virtual void btBU_Simplex1to4::getVertex |
( |
int |
i, |
|
|
btVector3 & |
vtx | |
|
) |
| | const [virtual] |
virtual bool btBU_Simplex1to4::isInside |
( |
const btVector3 & |
pt, |
|
|
btScalar |
tolerance | |
|
) |
| | const [virtual] |
void btBU_Simplex1to4::reset |
( |
|
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following file: