java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.vhacd.ConvexHull
- All Implemented Interfaces:
- ConstJoltPhysicsObject,- AutoCloseable,- Comparable<JoltPhysicsObject>
An immutable 3-D convex hull generated by the V-HACD algorithm. (native
 class: 
IVHACD::ConvexHull)- 
Method SummaryModifier and TypeMethodDescriptionintCount the points.Copy the point locations to a new direct buffer.Methods inherited from class com.github.stephengold.joltjni.JoltPhysicsObjectclose, compareTo, equals, getContainingObject, hasAssignedNativeObject, hashCode, isCleanerStarted, ownsNativeObject, setVirtualAddress, setVirtualAddress, startCleaner, targetVa, toString, va
- 
Method Details- 
countPointspublic int countPoints()Count the points.- Returns:
- the count (≥1)
 
- 
getPointsAsBufferCopy the point locations to a new direct buffer.- Returns:
- the new direct buffer (capacity a positive multiple of 3)
 
 
-