com.bulletphysics.collision.shapes
Class ConcaveShape

java.lang.Object
  extended by com.bulletphysics.collision.shapes.CollisionShape
      extended by com.bulletphysics.collision.shapes.ConcaveShape
Direct Known Subclasses:
GImpactShapeInterface, ScaledBvhTriangleMeshShape, StaticPlaneShape, TriangleMeshShape

public abstract class ConcaveShape
extends CollisionShape

ConcaveShape class provides an interface for non-moving (static) concave shapes.


Constructor Summary
ConcaveShape()
           
 
Method Summary
 float getMargin()
           
abstract  void processAllTriangles(TriangleCallback callback, Vector3f aabbMin, Vector3f aabbMax)
           
 void setMargin(float margin)
           
 
Methods inherited from class com.bulletphysics.collision.shapes.CollisionShape
calculateLocalInertia, calculateTemporalAabb, getAabb, getAngularMotionDisc, getBoundingSphere, getLocalScaling, getName, getShapeType, getUserPointer, isCompound, isConcave, isConvex, isInfinite, isPolyhedral, setLocalScaling, setUserPointer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcaveShape

public ConcaveShape()
Method Detail

processAllTriangles

public abstract void processAllTriangles(TriangleCallback callback,
                                         Vector3f aabbMin,
                                         Vector3f aabbMax)

getMargin

public float getMargin()
Specified by:
getMargin in class CollisionShape

setMargin

public void setMargin(float margin)
Specified by:
setMargin in class CollisionShape