com.vividsolutions.jts.index.quadtree

Class Root


public class Root
extends NodeBase

QuadRoot is the root of a single Quadtree. It is centred at the origin, and does not have a defined extent.
Version:
1.7

Field Summary

Fields inherited from class com.vividsolutions.jts.index.quadtree.NodeBase

items, subnode

Constructor Summary

Root()

Method Summary

void
insert(Envelope itemEnv, Object item)
Insert an item into the quadtree this is the root of.
protected boolean
isSearchMatch(Envelope searchEnv)

Methods inherited from class com.vividsolutions.jts.index.quadtree.NodeBase

add, addAllItems, addAllItemsFromOverlapping, getItems, getSubnodeIndex, hasChildren, hasItems, isEmpty, isPrunable, isSearchMatch, remove, visit

Constructor Details

Root

public Root()

Method Details

insert

public void insert(Envelope itemEnv,
                   Object item)
Insert an item into the quadtree this is the root of.

isSearchMatch

protected boolean isSearchMatch(Envelope searchEnv)
Overrides:
isSearchMatch in interface NodeBase