com.bulletphysics.collision.shapes
Class CylinderShapeX

java.lang.Object
  extended by com.bulletphysics.collision.shapes.CollisionShape
      extended by com.bulletphysics.collision.shapes.ConvexShape
          extended by com.bulletphysics.collision.shapes.ConvexInternalShape
              extended by com.bulletphysics.collision.shapes.PolyhedralConvexShape
                  extended by com.bulletphysics.collision.shapes.BoxShape
                      extended by com.bulletphysics.collision.shapes.CylinderShape
                          extended by com.bulletphysics.collision.shapes.CylinderShapeX

public class CylinderShapeX
extends CylinderShape

Cylinder shape around the X axis.


Field Summary
 
Fields inherited from class com.bulletphysics.collision.shapes.ConvexShape
MAX_PREFERRED_PENETRATION_DIRECTIONS
 
Constructor Summary
CylinderShapeX(Vector3f halfExtents)
           
 
Method Summary
 void batchedUnitVectorGetSupportingVertexWithoutMargin(Vector3f[] vectors, Vector3f[] supportVerticesOut, int numVectors)
           
 String getName()
           
 float getRadius()
           
 Vector3f localGetSupportingVertexWithoutMargin(Vector3f vec, Vector3f out)
           
 
Methods inherited from class com.bulletphysics.collision.shapes.CylinderShape
getAabb, getShapeType, getUpAxis, localGetSupportingVertex
 
Methods inherited from class com.bulletphysics.collision.shapes.BoxShape
calculateLocalInertia, getEdge, getHalfExtentsWithMargin, getHalfExtentsWithoutMargin, getNumEdges, getNumPlanes, getNumPreferredPenetrationDirections, getNumVertices, getPlane, getPlaneEquation, getPreferredPenetrationDirection, getVertex, isInside, setLocalScaling, setMargin
 
Methods inherited from class com.bulletphysics.collision.shapes.PolyhedralConvexShape
recalcLocalAabb
 
Methods inherited from class com.bulletphysics.collision.shapes.ConvexInternalShape
getAabbSlow, getLocalScaling, getMargin
 
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

CylinderShapeX

public CylinderShapeX(Vector3f halfExtents)
Method Detail

localGetSupportingVertexWithoutMargin

public Vector3f localGetSupportingVertexWithoutMargin(Vector3f vec,
                                                      Vector3f out)
Overrides:
localGetSupportingVertexWithoutMargin in class CylinderShape

batchedUnitVectorGetSupportingVertexWithoutMargin

public void batchedUnitVectorGetSupportingVertexWithoutMargin(Vector3f[] vectors,
                                                              Vector3f[] supportVerticesOut,
                                                              int numVectors)
Overrides:
batchedUnitVectorGetSupportingVertexWithoutMargin in class CylinderShape

getRadius

public float getRadius()
Overrides:
getRadius in class CylinderShape

getName

public String getName()
Overrides:
getName in class CylinderShape