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) |
void |
operatorDelete(long ptr) |
void |
operatorDelete(long arg0,
long arg1) |
void |
operatorDeleteArray(long ptr) |
void |
operatorDeleteArray(long arg0,
long arg1) |
long |
operatorNew(long sizeInBytes) |
long |
operatorNew(long arg0,
long ptr) |
long |
operatorNewArray(long sizeInBytes) |
long |
operatorNewArray(long arg0,
long ptr) |
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 long operatorNew(long sizeInBytes)
operatorNew in class btConvexInternalShapepublic void operatorDelete(long ptr)
operatorDelete in class btConvexInternalShapepublic long operatorNew(long arg0,
long ptr)
operatorNew in class btConvexInternalShapepublic void operatorDelete(long arg0,
long arg1)
operatorDelete in class btConvexInternalShapepublic long operatorNewArray(long sizeInBytes)
operatorNewArray in class btConvexInternalShapepublic void operatorDeleteArray(long ptr)
operatorDeleteArray in class btConvexInternalShapepublic long operatorNewArray(long arg0,
long ptr)
operatorNewArray in class btConvexInternalShapepublic void operatorDeleteArray(long arg0,
long arg1)
operatorDeleteArray in class btConvexInternalShapepublic 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 © 2021. All rights reserved.