Class RectTree


  • public class RectTree
    extends java.lang.Object
    A two-dimensional tree structure to store non-overlapping rectangles.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static short BACKGROUND  
      static short EMPTY  
      static short MISC  
    • Constructor Summary

      Constructors 
      Constructor Description
      RectTree​(SmallRect root, int minResolution)  
    • Field Detail

      • EMPTY

        public static short EMPTY
      • MISC

        public static short MISC
      • BACKGROUND

        public static short BACKGROUND
    • Constructor Detail

      • RectTree

        public RectTree​(SmallRect root,
                        int minResolution)
    • Method Detail

      • insert

        public void insert​(SmallRect r,
                           short id)
      • move

        public void move​(int x,
                         int y)
      • place

        public void place​(CloudMatrix mainTree,
                          short id)
      • releaseRects

        public void releaseRects()
      • getRoot

        public org.eclipse.gef.cloudio.internal.ui.util.RectTree.RectNode getRoot()
      • reset

        public void reset()