com.brackeen.javagamebook.bsp2D
Class BSPTree.Node

java.lang.Object
  extended bycom.brackeen.javagamebook.bsp2D.BSPTree.Node
Direct Known Subclasses:
BSPTree.Leaf
Enclosing class:
BSPTree

public static class BSPTree.Node
extends java.lang.Object

A Node of the tree. All children of the node are either to the front of back of the node's partition.


Field Summary
 BSPTree.Node back
           
 BSPTree.Node front
           
 BSPLine partition
           
 java.util.List polygons
           
 
Constructor Summary
BSPTree.Node()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

front

public BSPTree.Node front

back

public BSPTree.Node back

partition

public BSPLine partition

polygons

public java.util.List polygons
Constructor Detail

BSPTree.Node

public BSPTree.Node()