Maven module :un.api : api-geometry :
Class : un.api.geometry.index.octtrees.OctTreeBasic
Extends/Implements : un.api.geometry.index.octtrees.OctTreeType
Subclasses : -

Basic implementation of an octtree, based on a 3D generalization of
{@link un.api.geometry.index.quadtrees.QuadTreeBasic}.

@param
The precise type of octtree members.
@author Mark Raynsford


Variables : -
Functions : newOctTree, octTreeClear, octTreeGetPositionX, octTreeGetPositionY, octTreeGetPositionZ, octTreeGetSizeX, octTreeGetSizeY, octTreeGetSizeZ, octTreeInsert, octTreeIterateObjects, octTreeQueryRaycast, octTreeQueryVolumeContaining, octTreeQueryVolumeOverlapping, octTreeRemove, octTreeTraverse, toString




Construct a new octtree with the given size and position.
param  size
The size.
param  position
The position.
return  A new octtree.
param  
The precise type of octtree members.
public OctTreeType newOctTree (Vector size, Vector position)

public void octTreeClear ()

public double octTreeGetPositionX ()

public double octTreeGetPositionY ()

public double octTreeGetPositionZ ()

public double octTreeGetSizeX ()

public double octTreeGetSizeY ()

public double octTreeGetSizeZ ()

public boolean octTreeInsert (T item)

public void octTreeIterateObjects (Predicate f)

public void octTreeQueryRaycast (Ray ray, SortedSet> items)

public void octTreeQueryVolumeContaining (BBox volume, SortedSet items)

public void octTreeQueryVolumeOverlapping (BBox volume, SortedSet items)

public boolean octTreeRemove (T item)

public void octTreeTraverse (OctTreeTraversalType traversal)

public String toString ()