Package org.eclipse.zest.cloudio.util
Class RectTree
java.lang.Object
org.eclipse.zest.cloudio.util.RectTree
A two-dimensional tree structure to store non-overlapping rectangles.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
fits
(CloudMatrix mainTree) org.eclipse.zest.cloudio.util.RectTree.RectNode
getRoot()
void
void
move
(int x, int y) void
place
(CloudMatrix mainTree, short id) void
void
reset()
-
Field Details
-
EMPTY
public static short EMPTY -
MISC
public static short MISC -
BACKGROUND
public static short BACKGROUND
-
-
Constructor Details
-
RectTree
-
-
Method Details
-
insert
-
move
public void move(int x, int y) -
fits
-
place
-
releaseRects
public void releaseRects() -
getRoot
public org.eclipse.zest.cloudio.util.RectTree.RectNode getRoot() -
reset
public void reset()
-