com.vividsolutions.jts.index.bintree
Class Node
java.lang.Object
com.vividsolutions.jts.index.bintree.NodeBase
com.vividsolutions.jts.index.bintree.Node
- public class Node
- extends NodeBase
A node of a Bintree
.
- Version:
- 1.7
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Node
public Node(Interval interval,
int level)
createNode
public static Node createNode(Interval itemInterval)
createExpanded
public static Node createExpanded(Node node,
Interval addInterval)
getInterval
public Interval getInterval()
isSearchMatch
protected boolean isSearchMatch(Interval itemInterval)
- Specified by:
isSearchMatch
in class NodeBase
getNode
public Node getNode(Interval searchInterval)
- Returns the subnode containing the envelope.
Creates the node if
it does not already exist.
find
public NodeBase find(Interval searchInterval)
- Returns the smallest existing
node containing the envelope.