java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.NonCopyable
com.github.stephengold.joltjni.ChbEdge
- All Implemented Interfaces:
ConstJoltPhysicsObject
,AutoCloseable
,Comparable<JoltPhysicsObject>
An edge in a
ConvexHullBuilder
. (native type:
ConvexHullBuilder::Edge
)-
Method Summary
Modifier and TypeMethodDescriptionAccess the next edge.int
Return the index of the vertex from which the edge originates.Methods inherited from class com.github.stephengold.joltjni.JoltPhysicsObject
close, compareTo, equals, getContainingObject, hasAssignedNativeObject, hashCode, ownsNativeObject, setVirtualAddress, setVirtualAddress, startCleaner, targetVa, toString, va
-
Method Details
-
getNextEdge
Access the next edge. The current edge is unaffected. (native attribute: mNextEdge)- Returns:
- a new JVM object with the pre-existing native object assigned, or
null
if none
-
getStartIdx
public int getStartIdx()Return the index of the vertex from which the edge originates. The edge is unaffected. (native attribute: mStartIdx)- Returns:
- an index into
mPositions
(≥0)
-