@NoOffset @Properties(inherit=BulletCollision.class) public class btBU_Simplex1to4 extends btPolyhedralConvexAabbCachingShape
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btBU_Simplex1to4() |
btBU_Simplex1to4(btVector3 pt0) |
btBU_Simplex1to4(btVector3 pt0,
btVector3 pt1) |
btBU_Simplex1to4(btVector3 pt0,
btVector3 pt1,
btVector3 pt2) |
btBU_Simplex1to4(btVector3 pt0,
btVector3 pt1,
btVector3 pt2,
btVector3 pt3) |
btBU_Simplex1to4(long size)
Native array allocator.
|
btBU_Simplex1to4(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addVertex(btVector3 pt) |
void |
getAabb(btTransform t,
btVector3 aabbMin,
btVector3 aabbMax)
getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version
|
void |
getEdge(int i,
btVector3 pa,
btVector3 pb) |
int |
getIndex(int i) |
BytePointer |
getName()
getName is for debugging
|
int |
getNumEdges() |
int |
getNumPlanes() |
int |
getNumVertices() |
void |
getPlane(btVector3 planeNormal,
btVector3 planeSupport,
int i) |
btBU_Simplex1to4 |
getPointer(long i) |
void |
getVertex(int i,
btVector3 vtx) |
boolean |
isInside(btVector3 pt,
double tolerance) |
btBU_Simplex1to4 |
position(long position) |
void |
reset() |
getNonvirtualAabb, recalcLocalAabb, setLocalScalingbatchedUnitVectorGetSupportingVertexWithoutMargin, calculateLocalInertia, getConvexPolyhedron, initializePolyhedralFeatures, initializePolyhedralFeatures, localGetSupportingVertexWithoutMargin, setPolyhedralFeaturescalculateSerializeBufferSize, getAabbSlow, getImplicitShapeDimensions, getLocalScaling, getLocalScalingNV, getMargin, getMarginNV, getNumPreferredPenetrationDirections, getPreferredPenetrationDirection, localGetSupportingVertex, serialize, setImplicitShapeDimensions, setMargin, setSafeMargin, setSafeMargin, setSafeMargin, setSafeMargingetAabbNonVirtual, getMarginNonVirtual, localGetSupportVertexNonVirtual, localGetSupportVertexWithoutMarginNonVirtual, project, project, projectcalculateTemporalAabb, getAngularMotionDisc, getAnisotropicRollingFrictionDirection, getBoundingSphere, getBoundingSphere, getBoundingSphere, getContactBreakingThreshold, 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, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic btBU_Simplex1to4(Pointer p)
Pointer(Pointer).public btBU_Simplex1to4(long size)
Pointer.position(long).public btBU_Simplex1to4()
public btBU_Simplex1to4(@Const @ByRef btVector3 pt0, @Const @ByRef btVector3 pt1, @Const @ByRef btVector3 pt2)
public btBU_Simplex1to4 position(long position)
public btBU_Simplex1to4 getPointer(long i)
getPointer in class Pointerpublic void reset()
public void getAabb(@Const @ByRef btTransform t, @ByRef btVector3 aabbMin, @ByRef btVector3 aabbMax)
btConvexInternalShapegetAabb in class btPolyhedralConvexAabbCachingShapepublic int getNumVertices()
getNumVertices in class btPolyhedralConvexShapepublic int getNumEdges()
getNumEdges in class btPolyhedralConvexShapepublic void getEdge(int i,
@ByRef
btVector3 pa,
@ByRef
btVector3 pb)
getEdge in class btPolyhedralConvexShapepublic void getVertex(int i,
@ByRef
btVector3 vtx)
getVertex in class btPolyhedralConvexShapepublic int getNumPlanes()
getNumPlanes in class btPolyhedralConvexShapepublic void getPlane(@ByRef btVector3 planeNormal, @ByRef btVector3 planeSupport, int i)
getPlane in class btPolyhedralConvexShapepublic int getIndex(int i)
@Cast(value="bool") public boolean isInside(@Const @ByRef btVector3 pt, @Cast(value="btScalar") double tolerance)
isInside in class btPolyhedralConvexShape@Cast(value="const char*") public BytePointer getName()
getName in class btCollisionShapeCopyright © 2024. All rights reserved.