public class AABBTree extends BVTree
TRANSPARENT, TWO_DIMENSIONAL| Constructor and Description |
|---|
AABBTree() |
AABBTree(MeshBase mesh) |
AABBTree(MeshBase mesh,
int maxLeafElems) |
AABBTree(MeshBase mesh,
int maxLeafElems,
double margin) |
| Modifier and Type | Method and Description |
|---|---|
void |
build(Boundable[] elements,
int nelems)
Builds a bounding volume tree for a set of elements.
|
AABB |
getRoot()
Returns the root bounding volume for this tree
|
void |
update()
Updates the bounding volumes in this tree to ensure that they
properly contain their enclosed elements.
|
build, build, getBvhToWorld, getBvhToWorld, getCenter, getLeafNodes, getMargin, getMaxLeafElements, getRadius, getRenderHints, intersectLine, intersectLineSegment, intersectPlane, intersectPoint, intersectSphere, intersectTree, intersectTree, numberNodes, numNodes, prerender, print, print, printElement, printNumLeafFaces, render, setBvhToWorld, setMargin, setMaxLeafElements, updateBoundspublic AABBTree()
public AABBTree(MeshBase mesh, int maxLeafElems, double margin)
public AABBTree(MeshBase mesh, int maxLeafElems)
public AABBTree(MeshBase mesh)
public AABB getRoot()
BVTreepublic void build(Boundable[] elements, int nelems)
BVTreepublic void update()
BVTreeupdate in class BVTreeBVTree.setMargin(double)