com.bulletphysics.linearmath.convexhull
Class HullDesc

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

public class HullDesc
extends Object

Describes point cloud data and other input for conversion to polygonal representation.


Field Summary
 int flags
          Flags to use when generating the convex hull, see HullFlags.
 int maxFaces
          Maximum number of faces to be considered for the hull.
 int maxVertices
          Maximum number of vertices to be considered for the hull.
 float normalEpsilon
          Epsilon value for removing duplicates.
 int vcount
          Number of vertices in the input point cloud.
 ObjectArrayList<Vector3f> vertices
          Array of vertices.
 
Constructor Summary
HullDesc()
           
HullDesc(int flag, int vcount, ObjectArrayList<Vector3f> vertices)
           
HullDesc(int flag, int vcount, ObjectArrayList<Vector3f> vertices, int stride)
           
 
Method Summary
 void clearHullFlag(int flag)
           
 boolean hasHullFlag(int flag)
           
 void setHullFlag(int flag)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

flags

public int flags
Flags to use when generating the convex hull, see HullFlags.


vcount

public int vcount
Number of vertices in the input point cloud.


vertices

public ObjectArrayList<Vector3f> vertices
Array of vertices.


normalEpsilon

public float normalEpsilon
Epsilon value for removing duplicates. This is a normalized value, if normalized bit is on.


maxVertices

public int maxVertices
Maximum number of vertices to be considered for the hull.


maxFaces

public int maxFaces
Maximum number of faces to be considered for the hull.

Constructor Detail

HullDesc

public HullDesc()

HullDesc

public HullDesc(int flag,
                int vcount,
                ObjectArrayList<Vector3f> vertices)

HullDesc

public HullDesc(int flag,
                int vcount,
                ObjectArrayList<Vector3f> vertices,
                int stride)
Method Detail

hasHullFlag

public boolean hasHullFlag(int flag)

setHullFlag

public void setHullFlag(int flag)

clearHullFlag

public void clearHullFlag(int flag)