Class Root

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Field Detail

    • Constructor Detail

      • Root

        public Root()
    • Method Detail

      • insert

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

        private void insertContained​(Node tree,
                                     Envelope itemEnv,
                                     java.lang.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.