org.osm2world.core.map_data.creation.index
protected static class Map2dTree.InnerNode extends Object implements Map2dTree.Node
Modifier and Type | Field and Description |
---|---|
Map2dTree.Node |
lowerChild |
boolean |
splitAlongX |
double |
splitValue |
Map2dTree.Node |
upperChild |
Modifier | Constructor and Description |
---|---|
protected |
Map2dTree.InnerNode(boolean splitAlongX,
double splitValue) |
Modifier and Type | Method and Description |
---|---|
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
|
List<Map2dTree.Leaf> |
probe(MapElement element) |
public final boolean splitAlongX
public final double splitValue
public Map2dTree.Node lowerChild
public Map2dTree.Node upperChild
protected Map2dTree.InnerNode(boolean splitAlongX, double splitValue)
public void add(MapElement element, boolean suppressSplits)
add
in interface Map2dTree.Node
public List<Map2dTree.Leaf> probe(MapElement element)
probe
in interface Map2dTree.Node
public void collectLeaves(List<Map2dTree.Leaf> leaves)
Map2dTree.Node
collectLeaves
in interface Map2dTree.Node