Class Root
java.lang.Object
org.locationtech.jts.index.quadtree.NodeBase
org.locationtech.jts.index.quadtree.Root
- All Implemented Interfaces:
Serializable
QuadRoot is the root of a single Quadtree. It is centred at the origin,
and does not have a defined extent.
- Version:
- 1.7
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Insert an item into the quadtree this is the root of.private void
insertContained
(Node tree, Envelope itemEnv, Object item) insert an item which is known to be contained in the tree rooted at the given QuadNode root.protected boolean
isSearchMatch
(Envelope searchEnv) Methods inherited from class org.locationtech.jts.index.quadtree.NodeBase
add, addAllItems, addAllItemsFromOverlapping, depth, getItems, getNodeCount, getSubnodeIndex, hasChildren, hasItems, isEmpty, isPrunable, remove, size, visit
-
Field Details
-
origin
-
-
Constructor Details
-
Root
public Root()
-
-
Method Details
-
insert
Insert an item into the quadtree this is the root of. -
insertContained
insert an item which is known to be contained in the tree rooted at the given QuadNode root. Lower levels of the tree will be created if necessary to hold the item. -
isSearchMatch
- Specified by:
isSearchMatch
in classNodeBase
-