Interface GISTreeSetNodeFactory<P extends GISPrimitive,​N extends TreeNode<P,​N>>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      N newNode​(IcosepQuadTreeNode.IcosepQuadTreeZone zone, double boundsX, double boundsY, double boundsWidth, double boundsHeight)
      Create a root node with the given element inside.
      N newRootNode​(P element)
      Create a root node with the given element inside.
      N newRootNode​(P element, double boundsX, double boundsY, double boundsWidth, double boundsHeight)
      Create a root node with the given element inside.
    • Method Detail

      • newRootNode

        @Pure
        N newRootNode​(P element)
        Create a root node with the given element inside.
        Parameters:
        element - is the element to initially put inside the node.
        Returns:
        the node
      • newRootNode

        @Pure
        N newRootNode​(P element,
                      double boundsX,
                      double boundsY,
                      double boundsWidth,
                      double boundsHeight)
        Create a root node with the given element inside.
        Parameters:
        element - is the element to initially put inside the node.
        boundsX - is the bounds of the scene.
        boundsY - is the bounds of the scene.
        boundsWidth - is the bounds of the scene.
        boundsHeight - is the bounds of the scene.
        Returns:
        the node
      • newNode

        @Pure
        N newNode​(IcosepQuadTreeNode.IcosepQuadTreeZone zone,
                  double boundsX,
                  double boundsY,
                  double boundsWidth,
                  double boundsHeight)
        Create a root node with the given element inside.
        Parameters:
        zone - is the zone enclosed by this node.
        boundsX - is the bounds of the scene.
        boundsY - is the bounds of the scene.
        boundsWidth - is the bounds of the scene.
        boundsHeight - is the bounds of the scene.
        Returns:
        the node