public class btConvexHullShape extends btPolyhedralConvexAabbCachingShape
className| Constructor and Description |
|---|
btConvexHullShape() |
btConvexHullShape(btShapeHull hull) |
btConvexHullShape(FloatBuffer points) |
btConvexHullShape(FloatBuffer points,
int numPoints) |
btConvexHullShape(FloatBuffer points,
int numPoints,
int stride) |
btConvexHullShape(long cPtr,
boolean cMemoryOwn)
Construct a new btConvexHullShape, normally you should not need this constructor it's intended for low-level usage.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPoint(Vector3 point) |
void |
addPoint(Vector3 point,
boolean recalculateLocalAabb) |
static long |
getCPtr(btConvexHullShape obj) |
int |
getNumPoints() |
btVector3 |
getPoints() |
Vector3 |
getScaledPoint(int i) |
btVector3 |
getUnscaledPoints() |
void |
optimizeConvexHull() |
getCPtr, getNonvirtualAabb, recalcLocalAabbgetConvexPolyhedron, getCPtr, getEdge, getNumEdges, getNumPlanes, getNumVertices, getPlane, getVertex, initializePolyhedralFeatures, initializePolyhedralFeatures, isInsidegetCPtr, 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 btConvexHullShape(long cPtr,
boolean cMemoryOwn)
public btConvexHullShape(FloatBuffer points, int numPoints, int stride)
public btConvexHullShape(FloatBuffer points, int numPoints)
public btConvexHullShape(FloatBuffer points)
public btConvexHullShape()
public btConvexHullShape(btShapeHull hull)
public static long getCPtr(btConvexHullShape obj)
public void addPoint(Vector3 point, boolean recalculateLocalAabb)
public void addPoint(Vector3 point)
public btVector3 getUnscaledPoints()
public btVector3 getPoints()
public void optimizeConvexHull()
public Vector3 getScaledPoint(int i)
public int getNumPoints()
Copyright © 2017. All rights reserved.