java.lang.Object
org.locationtech.jts.index.quadtree.NodeBase
org.locationtech.jts.index.quadtree.Root
All Implemented Interfaces:
Serializable

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
See Also:
  • Field Details

  • 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.
    • insertContained

      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. Lower levels of the tree will be created if necessary to hold the item.
    • isSearchMatch

      protected boolean isSearchMatch(Envelope searchEnv)
      Specified by:
      isSearchMatch in class NodeBase