|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bulletphysics.collision.shapes.CollisionShape
com.bulletphysics.collision.shapes.ConvexShape
com.bulletphysics.collision.shapes.ConvexInternalShape
com.bulletphysics.collision.shapes.PolyhedralConvexShape
com.bulletphysics.collision.shapes.BU_Simplex1to4
public class BU_Simplex1to4
BU_Simplex1to4 implements feature based and implicit simplex of up to 4 vertices (tetrahedron, triangle, line, vertex).
| Field Summary |
|---|
| Fields inherited from class com.bulletphysics.collision.shapes.ConvexShape |
|---|
MAX_PREFERRED_PENETRATION_DIRECTIONS |
| Constructor Summary | |
|---|---|
BU_Simplex1to4()
|
|
BU_Simplex1to4(Vector3f pt0)
|
|
BU_Simplex1to4(Vector3f pt0,
Vector3f pt1)
|
|
BU_Simplex1to4(Vector3f pt0,
Vector3f pt1,
Vector3f pt2)
|
|
BU_Simplex1to4(Vector3f pt0,
Vector3f pt1,
Vector3f pt2,
Vector3f pt3)
|
|
| Method Summary | |
|---|---|
void |
addVertex(Vector3f pt)
|
void |
getEdge(int i,
Vector3f pa,
Vector3f pb)
|
int |
getIndex(int i)
|
String |
getName()
|
int |
getNumEdges()
|
int |
getNumPlanes()
|
int |
getNumVertices()
|
void |
getPlane(Vector3f planeNormal,
Vector3f planeSupport,
int i)
|
BroadphaseNativeType |
getShapeType()
|
void |
getVertex(int i,
Vector3f vtx)
|
boolean |
isInside(Vector3f pt,
float tolerance)
|
void |
reset()
|
| Methods inherited from class com.bulletphysics.collision.shapes.PolyhedralConvexShape |
|---|
batchedUnitVectorGetSupportingVertexWithoutMargin, calculateLocalInertia, getAabb, localGetSupportingVertexWithoutMargin, recalcLocalAabb, setLocalScaling |
| Methods inherited from class com.bulletphysics.collision.shapes.ConvexInternalShape |
|---|
getAabbSlow, getLocalScaling, getMargin, getNumPreferredPenetrationDirections, getPreferredPenetrationDirection, localGetSupportingVertex, setMargin |
| Methods inherited from class com.bulletphysics.collision.shapes.CollisionShape |
|---|
calculateTemporalAabb, getAngularMotionDisc, getBoundingSphere, getUserPointer, isCompound, isConcave, isConvex, isInfinite, isPolyhedral, setUserPointer |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BU_Simplex1to4()
public BU_Simplex1to4(Vector3f pt0)
public BU_Simplex1to4(Vector3f pt0,
Vector3f pt1)
public BU_Simplex1to4(Vector3f pt0,
Vector3f pt1,
Vector3f pt2)
public BU_Simplex1to4(Vector3f pt0,
Vector3f pt1,
Vector3f pt2,
Vector3f pt3)
| Method Detail |
|---|
public void reset()
public BroadphaseNativeType getShapeType()
getShapeType in class CollisionShapepublic void addVertex(Vector3f pt)
public int getNumVertices()
getNumVertices in class PolyhedralConvexShapepublic int getNumEdges()
getNumEdges in class PolyhedralConvexShape
public void getEdge(int i,
Vector3f pa,
Vector3f pb)
getEdge in class PolyhedralConvexShape
public void getVertex(int i,
Vector3f vtx)
getVertex in class PolyhedralConvexShapepublic int getNumPlanes()
getNumPlanes in class PolyhedralConvexShape
public void getPlane(Vector3f planeNormal,
Vector3f planeSupport,
int i)
getPlane in class PolyhedralConvexShapepublic int getIndex(int i)
public boolean isInside(Vector3f pt,
float tolerance)
isInside in class PolyhedralConvexShapepublic String getName()
getName in class CollisionShape
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||