com.bulletphysics.collision.shapes
Class CylinderShape
java.lang.Object
   com.bulletphysics.collision.shapes.CollisionShape
com.bulletphysics.collision.shapes.CollisionShape
       com.bulletphysics.collision.shapes.ConvexShape
com.bulletphysics.collision.shapes.ConvexShape
           com.bulletphysics.collision.shapes.ConvexInternalShape
com.bulletphysics.collision.shapes.ConvexInternalShape
               com.bulletphysics.collision.shapes.PolyhedralConvexShape
com.bulletphysics.collision.shapes.PolyhedralConvexShape
                   com.bulletphysics.collision.shapes.BoxShape
com.bulletphysics.collision.shapes.BoxShape
                       com.bulletphysics.collision.shapes.CylinderShape
com.bulletphysics.collision.shapes.CylinderShape
- Direct Known Subclasses: 
- CylinderShapeX, CylinderShapeZ
- public class CylinderShape 
- extends BoxShape
CylinderShape class implements a cylinder shape primitive, centered around
 the origin. Its central axis aligned with the Y axis. CylinderShapeX
 is aligned with the X axis and CylinderShapeZ around the Z axis.
 
 
 
 
| Methods inherited from class com.bulletphysics.collision.shapes.BoxShape | 
| calculateLocalInertia, getEdge, getHalfExtentsWithMargin, getHalfExtentsWithoutMargin, getNumEdges, getNumPlanes, getNumPreferredPenetrationDirections, getNumVertices, getPlane, getPlaneEquation, getPreferredPenetrationDirection, getVertex, isInside, setLocalScaling, setMargin | 
 
 
 
 
 
CylinderShape
public CylinderShape(Vector3f halfExtents)
getAabb
public void getAabb(Transform t,
                    Vector3f aabbMin,
                    Vector3f aabbMax)
- Description copied from class: ConvexInternalShape
- getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version.
 
- 
- Overrides:
- getAabbin class- BoxShape
 
- 
 
localGetSupportingVertexWithoutMargin
public Vector3f localGetSupportingVertexWithoutMargin(Vector3f vec,
                                                      Vector3f out)
- 
- Overrides:
- localGetSupportingVertexWithoutMarginin class- BoxShape
 
- 
 
batchedUnitVectorGetSupportingVertexWithoutMargin
public void batchedUnitVectorGetSupportingVertexWithoutMargin(Vector3f[] vectors,
                                                              Vector3f[] supportVerticesOut,
                                                              int numVectors)
- 
- Overrides:
- batchedUnitVectorGetSupportingVertexWithoutMarginin class- BoxShape
 
- 
 
localGetSupportingVertex
public Vector3f localGetSupportingVertex(Vector3f vec,
                                         Vector3f out)
- 
- Overrides:
- localGetSupportingVertexin class- BoxShape
 
- 
 
getShapeType
public BroadphaseNativeType getShapeType()
- 
- Overrides:
- getShapeTypein class- BoxShape
 
- 
 
getUpAxis
public int getUpAxis()
- 
 
getRadius
public float getRadius()
- 
 
getName
public String getName()
- 
- Overrides:
- getNamein class- BoxShape
 
-