public class AABBTree extends Object
TODO: the pick algorithm assumes that polygons are konvex... this is easy to change, steal code from tims triangulate non convex poly...
Modifier and Type | Field and Description |
---|---|
static AABBTree |
nullTree
more or less a hack to indicate that a geometry has no pick tree.
|
Modifier and Type | Method and Description |
---|---|
static AABBTree |
construct(double[][] coords,
int[][] faces) |
static AABBTree |
construct(double[][] coords,
int[][] faces,
int maxPolysPerLeaf) |
static AABBTree |
construct(IndexedFaceSet faceSet) |
static AABBTree |
construct(IndexedFaceSet faceSet,
int maxPolysPerLeaf) |
SceneGraphComponent |
display()
this is only for debugging and might be removed in future.
|
public static AABBTree nullTree
public static AABBTree construct(double[][] coords, int[][] faces)
public static AABBTree construct(double[][] coords, int[][] faces, int maxPolysPerLeaf)
public static AABBTree construct(IndexedFaceSet faceSet)
public static AABBTree construct(IndexedFaceSet faceSet, int maxPolysPerLeaf)
public SceneGraphComponent display()