@NoOffset @Properties(inherit=BulletCollision.class) public class btConvexHullShape extends btPolyhedralConvexAabbCachingShape
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btConvexHullShape() |
btConvexHullShape(double[] points,
int numPoints,
int stride) |
btConvexHullShape(DoubleBuffer points,
int numPoints,
int stride) |
btConvexHullShape(DoublePointer points,
int numPoints,
int stride)
this constructor optionally takes in a pointer to points.
|
btConvexHullShape(long size)
Native array allocator.
|
btConvexHullShape(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPoint(btVector3 point) |
void |
addPoint(btVector3 point,
boolean recalculateLocalAabb) |
void |
batchedUnitVectorGetSupportingVertexWithoutMargin(btVector3 vectors,
btVector3 supportVerticesOut,
int numVectors) |
int |
calculateSerializeBufferSize() |
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) |
btConvexHullShape |
getPointer(long i) |
btVector3 |
getPoints()
getPoints is obsolete, please use getUnscaledPoints
|
btVector3 |
getScaledPoint(int i) |
btVector3 |
getUnscaledPoints() |
void |
getVertex(int i,
btVector3 vtx) |
boolean |
isInside(btVector3 pt,
double tolerance) |
btVector3 |
localGetSupportingVertex(btVector3 vec) |
btVector3 |
localGetSupportingVertexWithoutMargin(btVector3 vec) |
void |
optimizeConvexHull() |
btConvexHullShape |
position(long position) |
void |
project(btTransform trans,
btVector3 dir,
double[] minProj,
double[] maxProj,
btVector3 witnesPtMin,
btVector3 witnesPtMax) |
void |
project(btTransform trans,
btVector3 dir,
DoubleBuffer minProj,
DoubleBuffer maxProj,
btVector3 witnesPtMin,
btVector3 witnesPtMax) |
void |
project(btTransform trans,
btVector3 dir,
DoublePointer minProj,
DoublePointer maxProj,
btVector3 witnesPtMin,
btVector3 witnesPtMax) |
BytePointer |
serialize(Pointer dataBuffer,
btSerializer serializer)
fills the dataBuffer and returns the struct name (and 0 on failure)
|
void |
setLocalScaling(btVector3 scaling)
in case we receive negative scaling
|
getAabb, getNonvirtualAabb, recalcLocalAabbcalculateLocalInertia, getConvexPolyhedron, initializePolyhedralFeatures, initializePolyhedralFeatures, setPolyhedralFeaturesgetAabbSlow, getImplicitShapeDimensions, getLocalScaling, getLocalScalingNV, getMargin, getMarginNV, getNumPreferredPenetrationDirections, getPreferredPenetrationDirection, setImplicitShapeDimensions, setMargin, setSafeMargin, setSafeMargin, setSafeMargin, setSafeMargingetAabbNonVirtual, getMarginNonVirtual, localGetSupportVertexNonVirtual, localGetSupportVertexWithoutMarginNonVirtualcalculateTemporalAabb, 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 btConvexHullShape(Pointer p)
Pointer(Pointer).public btConvexHullShape(long size)
Pointer.position(long).public btConvexHullShape(@Cast(value="const btScalar*") DoublePointer points, int numPoints, int stride)
public btConvexHullShape()
public btConvexHullShape(@Cast(value="const btScalar*") DoubleBuffer points, int numPoints, int stride)
public btConvexHullShape position(long position)
public btConvexHullShape getPointer(long i)
getPointer in class Pointerpublic void addPoint(@Const @ByRef btVector3 point, @Cast(value="bool") boolean recalculateLocalAabb)
public btVector3 getUnscaledPoints()
public void optimizeConvexHull()
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 btPolyhedralConvexShapepublic void project(@Const @ByRef btTransform trans, @Const @ByRef btVector3 dir, @Cast(value="btScalar*") @ByRef DoublePointer minProj, @Cast(value="btScalar*") @ByRef DoublePointer maxProj, @ByRef btVector3 witnesPtMin, @ByRef btVector3 witnesPtMax)
project in class btConvexShapepublic void project(@Const @ByRef btTransform trans, @Const @ByRef btVector3 dir, @Cast(value="btScalar*") @ByRef DoubleBuffer minProj, @Cast(value="btScalar*") @ByRef DoubleBuffer maxProj, @ByRef btVector3 witnesPtMin, @ByRef btVector3 witnesPtMax)
project in class btConvexShapepublic void project(@Const @ByRef btTransform trans, @Const @ByRef btVector3 dir, @Cast(value="btScalar*") @ByRef double[] minProj, @Cast(value="btScalar*") @ByRef double[] maxProj, @ByRef btVector3 witnesPtMin, @ByRef btVector3 witnesPtMax)
project in class btConvexShape@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 btPolyhedralConvexAabbCachingShapepublic int calculateSerializeBufferSize()
calculateSerializeBufferSize in class btConvexInternalShape@Cast(value="const char*") public BytePointer serialize(Pointer dataBuffer, btSerializer serializer)
serialize in class btConvexInternalShapeCopyright © 2024. All rights reserved.