com.vividsolutions.jts.index.bintree

Class Root


public class Root
extends NodeBase

The root node of a single Bintree. It is centred at the origin, and does not have a defined extent.
Version:
1.6

Field Summary

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

items, subnode

Constructor Summary

Root()

Method Summary

void
insert(Interval itemInterval, Object item)
Insert an item into the tree this is the root of.
protected boolean
isSearchMatch(Interval interval)
The root node matches all searches

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

add, addAllItems, addAllItemsFromOverlapping, getItems, getSubnodeIndex, isSearchMatch

Constructor Details

Root

public Root()

Method Details

insert

public void insert(Interval itemInterval,
                   Object item)
Insert an item into the tree this is the root of.

isSearchMatch

protected boolean isSearchMatch(Interval interval)
The root node matches all searches
Overrides:
isSearchMatch in interface NodeBase