|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.java.dev.joode.space.octtree.OctTreeNode
net.java.dev.joode.space.octtree.OctTree
public class OctTree
The root node of the BSPTree used by OctTreeSpace. If Geoms outside of the bounds of this space get added, a new layers get added automaticaly until also the new Geom is contained.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.java.dev.joode.space.octtree.OctTreeNode |
|---|
OctTreeNode.SplitType |
| Field Summary |
|---|
| Fields inherited from class net.java.dev.joode.space.octtree.OctTreeNode |
|---|
aabb, geoms, left, numGeoms, right, splitPos, splitted, type |
| Constructor Summary | |
|---|---|
OctTree()
creates a new OctTree |
|
| Method Summary | |
|---|---|
void |
add(Geom g)
adds a Geom to this TreeNode |
| Methods inherited from class net.java.dev.joode.space.octtree.OctTreeNode |
|---|
cloneState, collide, collide2, getAABB, getGeoms, getNumGeoms, iterator, remove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OctTree()
| Method Detail |
|---|
public void add(Geom g)
OctTreeNode
add in class OctTreeNodeg - the Geom to add
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||