Class Root
java.lang.Object
org.locationtech.jts.index.bintree.NodeBase
org.locationtech.jts.index.bintree.Root
The root node of a single
Bintree
.
It is centred at the origin,
and does not have a defined extent.- Version:
- 1.7
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Insert an item into the tree this is the root of.private void
insertContained
(Node tree, Interval itemInterval, Object item) insert an item which is known to be contained in the tree rooted at the given Node.protected boolean
isSearchMatch
(Interval interval) The root node matches all searchesMethods inherited from class org.locationtech.jts.index.bintree.NodeBase
add, addAllItems, addAllItemsFromOverlapping, depth, getItems, getSubnodeIndex, hasChildren, hasItems, isPrunable, nodeSize, remove, size
-
Field Details
-
origin
private static final double origin- See Also:
-
-
Constructor Details
-
Root
public Root()
-
-
Method Details
-
insert
Insert an item into the tree this is the root of. -
insertContained
insert an item which is known to be contained in the tree rooted at the given Node. Lower levels of the tree will be created if necessary to hold the item. -
isSearchMatch
The root node matches all searches- Specified by:
isSearchMatch
in classNodeBase
-