All Implemented Interfaces:
ConstJoltPhysicsObject, AutoCloseable, Comparable<JoltPhysicsObject>

public class ChbEdge extends NonCopyable
An edge in a ConvexHullBuilder. (native type: ConvexHullBuilder::Edge)
  • Method Details

    • getNextEdge

      public ChbEdge 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)