@NoOffset @Properties(inherit=BulletCollision.class) public class btPolyhedralConvexShape extends btConvexInternalShape
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btPolyhedralConvexShape(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
batchedUnitVectorGetSupportingVertexWithoutMargin(btVector3 vectors,
btVector3 supportVerticesOut,
int numVectors) |
void |
calculateLocalInertia(double mass,
btVector3 inertia) |
btConvexPolyhedron |
getConvexPolyhedron() |
void |
getEdge(int i,
btVector3 pa,
btVector3 pb) |
int |
getNumEdges() |
int |
getNumPlanes() |
int |
getNumVertices() |
void |
getPlane(btVector3 planeNormal,
btVector3 planeSupport,
int i) |
void |
getVertex(int i,
btVector3 vtx) |
boolean |
initializePolyhedralFeatures() |
boolean |
initializePolyhedralFeatures(int shiftVerticesByMargin)
optional method mainly used to generate multiple contact points by clipping polyhedral features (faces/edges)
experimental/work-in-progress
|
boolean |
isInside(btVector3 pt,
double tolerance) |
btVector3 |
localGetSupportingVertexWithoutMargin(btVector3 vec) |
void |
setPolyhedralFeatures(btConvexPolyhedron polyhedron) |
calculateSerializeBufferSize, getAabb, getAabbSlow, getImplicitShapeDimensions, getLocalScaling, getLocalScalingNV, getMargin, getMarginNV, getNumPreferredPenetrationDirections, getPreferredPenetrationDirection, localGetSupportingVertex, serialize, setImplicitShapeDimensions, setLocalScaling, setMargin, setSafeMargin, setSafeMargin, setSafeMargin, setSafeMargingetAabbNonVirtual, getMarginNonVirtual, localGetSupportVertexNonVirtual, localGetSupportVertexWithoutMarginNonVirtual, project, project, projectcalculateTemporalAabb, getAngularMotionDisc, getAnisotropicRollingFrictionDirection, getBoundingSphere, getBoundingSphere, getBoundingSphere, getContactBreakingThreshold, getName, getShapeType, getUserIndex, getUserIndex2, getUserPointer, isCompound, isConcave, isConvex, isConvex2d, isInfinite, isNonMoving, isPolyhedral, isSoftBody, serializeSingleShape, setUserIndex, setUserIndex2, setUserPointeraddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic btPolyhedralConvexShape(Pointer p)
Pointer(Pointer).@Cast(value="bool") public boolean initializePolyhedralFeatures(int shiftVerticesByMargin)
public void setPolyhedralFeatures(@ByRef btConvexPolyhedron polyhedron)
@Const public btConvexPolyhedron getConvexPolyhedron()
@ByVal public btVector3 localGetSupportingVertexWithoutMargin(@Const @ByRef btVector3 vec)
localGetSupportingVertexWithoutMargin in class btConvexShapepublic void batchedUnitVectorGetSupportingVertexWithoutMargin(@Const btVector3 vectors, btVector3 supportVerticesOut, int numVectors)
batchedUnitVectorGetSupportingVertexWithoutMargin in class btConvexShapepublic void calculateLocalInertia(@Cast(value="btScalar") double mass, @ByRef btVector3 inertia)
calculateLocalInertia in class btCollisionShapepublic int getNumVertices()
public int getNumEdges()
public int getNumPlanes()
Copyright © 2024. All rights reserved.