com.bulletphysics.linearmath.convexhull
Class HullResult

java.lang.Object
  extended by com.bulletphysics.linearmath.convexhull.HullResult

public class HullResult
extends Object

Contains resulting polygonal representation.

Depending on the polygons flag, array of indices consists of:
for triangles: indices are array indexes into the vertex list
for polygons: indices are in the form (number of points in face) (p1, p2, p3, ...)


Field Summary
 IntArrayList indices
          Array of indices.
 int numFaces
          Number of faces produced.
 int numIndices
          Total number of indices.
 int numOutputVertices
          Number of vertices in the output hull.
 ObjectArrayList<Vector3f> outputVertices
          Array of vertices.
 boolean polygons
          True if indices represents polygons, false indices are triangles.
 
Constructor Summary
HullResult()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

polygons

public boolean polygons
True if indices represents polygons, false indices are triangles.


numOutputVertices

public int numOutputVertices
Number of vertices in the output hull.


outputVertices

public final ObjectArrayList<Vector3f> outputVertices
Array of vertices.


numFaces

public int numFaces
Number of faces produced.


numIndices

public int numIndices
Total number of indices.


indices

public final IntArrayList indices
Array of indices.

Constructor Detail

HullResult

public HullResult()