btConvex2dShape Class Reference
#include <btConvex2dShape.h>
List of all members.
Detailed Description
The btConvex2dShape allows to use arbitrary convex shapes are 2d convex shapes, with the Z component assumed to be 0. For 2d boxes, the btBox2dShape is recommended.
Definition at line 24 of file btConvex2dShape.h.
Constructor & Destructor Documentation
btConvex2dShape::btConvex2dShape |
( |
btConvexShape * |
convexChildShape |
) |
|
virtual btConvex2dShape::~btConvex2dShape |
( |
|
) |
[virtual] |
Member Function Documentation
virtual void btConvex2dShape::batchedUnitVectorGetSupportingVertexWithoutMargin |
( |
const btVector3 * |
vectors, |
|
|
btVector3 * |
supportVerticesOut, |
|
|
int |
numVectors | |
|
) |
| | const [virtual] |
virtual void btConvex2dShape::calculateLocalInertia |
( |
btScalar |
mass, |
|
|
btVector3 & |
inertia | |
|
) |
| | const [virtual] |
void btConvex2dShape::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 btConvex2dShape::getAabbSlow |
( |
const btTransform & |
t, |
|
|
btVector3 & |
aabbMin, |
|
|
btVector3 & |
aabbMax | |
|
) |
| | const [virtual] |
const btConvexShape* btConvex2dShape::getChildShape |
( |
|
) |
const [inline] |
btConvexShape* btConvex2dShape::getChildShape |
( |
|
) |
[inline] |
virtual const btVector3& btConvex2dShape::getLocalScaling |
( |
|
) |
const [virtual] |
virtual btScalar btConvex2dShape::getMargin |
( |
|
) |
const [virtual] |
virtual const char* btConvex2dShape::getName |
( |
|
) |
const [inline, virtual] |
virtual int btConvex2dShape::getNumPreferredPenetrationDirections |
( |
|
) |
const [virtual] |
virtual void btConvex2dShape::getPreferredPenetrationDirection |
( |
int |
index, |
|
|
btVector3 & |
penetrationVector | |
|
) |
| | const [virtual] |
virtual btVector3 btConvex2dShape::localGetSupportingVertex |
( |
const btVector3 & |
vec |
) |
const [virtual] |
virtual btVector3 btConvex2dShape::localGetSupportingVertexWithoutMargin |
( |
const btVector3 & |
vec |
) |
const [virtual] |
virtual void btConvex2dShape::setLocalScaling |
( |
const btVector3 & |
scaling |
) |
[virtual] |
virtual void btConvex2dShape::setMargin |
( |
btScalar |
margin |
) |
[virtual] |
Member Data Documentation
The documentation for this class was generated from the following file: