edu.stanford.rsl.konrad.geometry.shapes.compound
Class NestedOctree

java.lang.Object
  extended by edu.stanford.rsl.konrad.geometry.AbstractShape
      extended by edu.stanford.rsl.konrad.geometry.shapes.compound.CompoundShape
          extended by edu.stanford.rsl.konrad.geometry.shapes.compound.LinearOctree
              extended by edu.stanford.rsl.konrad.geometry.shapes.compound.NestedOctree
All Implemented Interfaces:
Transformable, java.io.Serializable, java.lang.Iterable<AbstractShape>, java.util.Collection<AbstractShape>

public class NestedOctree
extends LinearOctree

Class to model an LinearOctree which uses either CompoundShapes or LinearOctrees as nodes. If the size of the CompoundShape is greater than MAX_NODE_SIZE the node is transformed to a LinearOctree.

Author:
akmaier
See Also:
Serialized Form

Constructor Summary
NestedOctree(PointND center)
           
NestedOctree(PointND min, PointND max)
           
NestedOctree(PointND min, PointND max, double nextRandom)
           
 
Method Summary
 
Methods inherited from class edu.stanford.rsl.konrad.geometry.shapes.compound.LinearOctree
add, addAll, applyTransform, clear, contains, containsAll, evaluate, getDimension, getInternalDimension, getMax, getMin, getRasterPoints, intersect, isBounded, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
 
Methods inherited from class edu.stanford.rsl.konrad.geometry.shapes.compound.CompoundShape
get, getHitsOnBoundingBox
 
Methods inherited from class edu.stanford.rsl.konrad.geometry.AbstractShape
getHitsOnBoundingBox_slow
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Constructor Detail

NestedOctree

public NestedOctree(PointND center)

NestedOctree

public NestedOctree(PointND min,
                    PointND max)

NestedOctree

public NestedOctree(PointND min,
                    PointND max,
                    double nextRandom)