org.osm2world.core.map_data.creation.index
Class Map2dTree.InnerNode

Object
  extended by Map2dTree.InnerNode
All Implemented Interfaces:
Map2dTree.Node
Enclosing class:
Map2dTree

protected static class Map2dTree.InnerNode
extends Object
implements Map2dTree.Node


Field Summary
 Map2dTree.Node lowerChild
           
 boolean splitAlongX
           
 double splitValue
           
 Map2dTree.Node upperChild
           
 
Constructor Summary
protected Map2dTree.InnerNode(boolean splitAlongX, double splitValue)
           
 
Method Summary
 void add(MapElement element, boolean suppressSplits)
           
 void collectLeaves(List<Map2dTree.Leaf> leaves)
          adds all leaves in the subtree starting at this node to a list
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

splitAlongX

public final boolean splitAlongX

splitValue

public final double splitValue

lowerChild

public Map2dTree.Node lowerChild

upperChild

public Map2dTree.Node upperChild
Constructor Detail

Map2dTree.InnerNode

protected Map2dTree.InnerNode(boolean splitAlongX,
                              double splitValue)
Method Detail

add

public void add(MapElement element,
                boolean suppressSplits)
Specified by:
add in interface Map2dTree.Node

collectLeaves

public void collectLeaves(List<Map2dTree.Leaf> leaves)
Description copied from interface: Map2dTree.Node
adds all leaves in the subtree starting at this node to a list

Specified by:
collectLeaves in interface Map2dTree.Node