java.lang.Object
org.eclipse.gef.cloudio.internal.ui.util.RectTree

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

    • EMPTY

      public static short EMPTY
    • MISC

      public static short MISC
    • BACKGROUND

      public static short BACKGROUND
  • Constructor Details

    • RectTree

      public RectTree(SmallRect root, int minResolution)
  • Method Details

    • insert

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

      public void move(int x, int y)
    • fits

      public boolean fits(CloudMatrix mainTree)
    • 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()