@NoOffset @Properties(inherit=BulletCollision.class) public class btConvexPointCloudShape extends btPolyhedralConvexAabbCachingShape
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btConvexPointCloudShape() |
btConvexPointCloudShape(btVector3 points,
int numPoints,
btVector3 localScaling) |
btConvexPointCloudShape(btVector3 points,
int numPoints,
btVector3 localScaling,
boolean computeAabb) |
btConvexPointCloudShape(long size)
Native array allocator.
|
btConvexPointCloudShape(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
batchedUnitVectorGetSupportingVertexWithoutMargin(btVector3 vectors,
btVector3 supportVerticesOut,
int numVectors) |
void |
getEdge(int i,
btVector3 pa,
btVector3 pb) |
BytePointer |
getName() |
int |
getNumEdges() |
int |
getNumPlanes() |
int |
getNumPoints() |
int |
getNumVertices() |
void |
getPlane(btVector3 planeNormal,
btVector3 planeSupport,
int i) |
btConvexPointCloudShape |
getPointer(long i) |
btVector3 |
getScaledPoint(int index) |
btVector3 |
getUnscaledPoints() |
void |
getVertex(int i,
btVector3 vtx) |
boolean |
isInside(btVector3 pt,
double tolerance) |
btVector3 |
localGetSupportingVertex(btVector3 vec) |
btVector3 |
localGetSupportingVertexWithoutMargin(btVector3 vec) |
btConvexPointCloudShape |
position(long position) |
void |
setLocalScaling(btVector3 scaling)
in case we receive negative scaling
|
void |
setPoints(btVector3 points,
int numPoints) |
void |
setPoints(btVector3 points,
int numPoints,
boolean computeAabb,
btVector3 localScaling) |
getAabb, getNonvirtualAabb, recalcLocalAabbcalculateLocalInertia, getConvexPolyhedron, initializePolyhedralFeatures, initializePolyhedralFeatures, setPolyhedralFeaturescalculateSerializeBufferSize, getAabbSlow, getImplicitShapeDimensions, getLocalScaling, getLocalScalingNV, getMargin, getMarginNV, getNumPreferredPenetrationDirections, getPreferredPenetrationDirection, 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 btConvexPointCloudShape(Pointer p)
Pointer(Pointer).public btConvexPointCloudShape(long size)
Pointer.position(long).public btConvexPointCloudShape()
public btConvexPointCloudShape(btVector3 points, int numPoints, @Const @ByRef btVector3 localScaling, @Cast(value="bool") boolean computeAabb)
public btConvexPointCloudShape position(long position)
public btConvexPointCloudShape getPointer(long i)
getPointer in class Pointerpublic void setPoints(btVector3 points, int numPoints, @Cast(value="bool") boolean computeAabb, @Const @ByRef(nullValue="btVector3(1.f, 1.f, 1.f)") btVector3 localScaling)
public void setPoints(btVector3 points, int numPoints)
public btVector3 getUnscaledPoints()
public int getNumPoints()
@ByVal public btVector3 localGetSupportingVertex(@Const @ByRef btVector3 vec)
localGetSupportingVertex in class btConvexInternalShape@ByVal public btVector3 localGetSupportingVertexWithoutMargin(@Const @ByRef btVector3 vec)
localGetSupportingVertexWithoutMargin in class btPolyhedralConvexShapepublic void batchedUnitVectorGetSupportingVertexWithoutMargin(@Const btVector3 vectors, btVector3 supportVerticesOut, int numVectors)
batchedUnitVectorGetSupportingVertexWithoutMargin in class btPolyhedralConvexShape@Cast(value="const char*") public BytePointer getName()
getName in class btCollisionShapepublic 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 btPolyhedralConvexShape@Cast(value="bool") public boolean isInside(@Const @ByRef btVector3 pt, @Cast(value="btScalar") double tolerance)
isInside in class btPolyhedralConvexShapepublic void setLocalScaling(@Const @ByRef btVector3 scaling)
setLocalScaling in class btPolyhedralConvexAabbCachingShapeCopyright © 2024. All rights reserved.