com.vividsolutions.jts.index.quadtree
Class Node
Represents a node of a
Quadtree
. Nodes contain
items which have a spatial extent corresponding to the node's position
in the quadtree.
add , addAllItems , addAllItemsFromOverlapping , getItems , getSubnodeIndex , hasChildren , hasItems , isEmpty , isPrunable , isSearchMatch , remove , visit |
Node
public Node(Envelope env,
int level)
find
public NodeBase find(Envelope searchEnv)
Returns the smallest existing
node containing the envelope.
getEnvelope
public Envelope getEnvelope()
getNode
public Node getNode(Envelope searchEnv)
Returns the subquad containing the envelope.
Creates the subquad if
it does not already exist.