Lines Matching refs:RectQuadTree
34 * it is in the RectQuadTree. If the bounds are to change, the component should
38 class RectQuadTree
41 private RectQuadTree [] child;
68 private RectQuadTree(Rectangle bounds, int maxDepth)
88 public RectQuadTree(Rectangle bounds)
98 * Add a component to this RectQuadTree.
106 * Remove a component from this RectQuadTree.
114 * Return the set of components within this RectQuadTree which intersect
413 child = new RectQuadTree[4];
420 new RectQuadTree(new Rectangle(bounds.x, bounds.y,
423 new RectQuadTree(new Rectangle(bounds.x + widthLeft, bounds.y,
426 new RectQuadTree(new Rectangle(bounds.x, bounds.y + heightTop,
429 new RectQuadTree(new Rectangle(bounds.x + widthLeft, bounds.y + heightTop,
452 RectQuadTree rqt =
453 new RectQuadTree(new Rectangle(0,0,width, height), MAX_DEPTH);
494 private static boolean tests(RectQuadTree rqt, int tests,
515 private static boolean test(RectQuadTree rqt, Rectangle testRect,