public class btPolyhedralConvexShape extends btConvexInternalShape
className| Constructor and Description |
|---|
btPolyhedralConvexShape(long cPtr,
boolean cMemoryOwn)
Construct a new btPolyhedralConvexShape, normally you should not need this constructor it's intended for low-level usage.
|
| Modifier and Type | Method and Description |
|---|---|
btConvexPolyhedron |
getConvexPolyhedron() |
static long |
getCPtr(btPolyhedralConvexShape obj) |
void |
getEdge(int i,
Vector3 pa,
Vector3 pb) |
int |
getNumEdges() |
int |
getNumPlanes() |
int |
getNumVertices() |
void |
getPlane(Vector3 planeNormal,
Vector3 planeSupport,
int i) |
void |
getVertex(int i,
Vector3 vtx) |
boolean |
initializePolyhedralFeatures() |
boolean |
initializePolyhedralFeatures(int shiftVerticesByMargin) |
boolean |
isInside(Vector3 pt,
float tolerance) |
getCPtr, getImplicitShapeDimensions, getLocalScalingNV, getMarginNV, setImplicitShapeDimensions, setSafeMargin, setSafeMargin, setSafeMargin, setSafeMarginbatchedUnitVectorGetSupportingVertexWithoutMargin, getAabbNonVirtual, getAabbSlow, getCPtr, getMarginNonVirtual, getNumPreferredPenetrationDirections, getPreferredPenetrationDirection, localGetSupportingVertex, localGetSupportingVertexWithoutMargin, localGetSupportVertexNonVirtual, localGetSupportVertexWithoutMarginNonVirtual, projectcalculateLocalInertia, calculateSerializeBufferSize, calculateTemporalAabb, getAabb, getAngularMotionDisc, getAnisotropicRollingFrictionDirection, getBoundingSphere, getContactBreakingThreshold, getCPtr, getLocalScaling, getMargin, getName, getShapeType, getUserIndex, getUserPointer, isCompound, isConcave, isConvex, isConvex2d, isInfinite, isNonMoving, isPolyhedral, isSoftBody, newDerivedObject, serialize, serializeSingleShape, setLocalScaling, setMargin, setUserIndex, setUserPointerdispose, equals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic btPolyhedralConvexShape(long cPtr,
boolean cMemoryOwn)
public static long getCPtr(btPolyhedralConvexShape obj)
public boolean initializePolyhedralFeatures(int shiftVerticesByMargin)
public boolean initializePolyhedralFeatures()
public btConvexPolyhedron getConvexPolyhedron()
public int getNumVertices()
public int getNumEdges()
public void getVertex(int i,
Vector3 vtx)
public int getNumPlanes()
public boolean isInside(Vector3 pt, float tolerance)
Copyright © 2017. All rights reserved.