Returns the bound for this cell (including padding.)
Returns a new instance of the canonical empty rectangle.
Returns a rectangle that has been expanded on both sides by the given margin.
Return a rectangle that has been expanded on each side in the x-direction by margin.x(), and on
each side in the y-direction by margin.y().
Returns a new rectangle from a center point and size in each dimension.
Returns a rectangle containing a single point.
Returns the minimal bounding rectangle containing the two given points.
Returns the bounds of this cell in (s,t)-space.
Returns the bounds of this cell in (u,v)-space.
Returns the bounds of this cell in (u,v)-space.
Returns the smallest rectangle containing the intersection of this rectangle and the given
rectangle.
Return the "middle" of the padded cell, defined as the rectangle that belongs to all four
children.
Returns the smallest rectangle containing the union of this rectangle and the given rectangle.
void
Expand the rectangle to include the given other rectangle.
boolean
Returns true if the x- and y-intervals of the two rectangles are the same up to the given
tolerance.
boolean
Returns true if the given rectangles are equal to within maxError.
boolean
Returns true if and only if this rectangle contains the given other rectangle.
boolean
Returns true if and only if the interior of this rectangle contains all points of the given
other rectangle (including its boundary).
boolean
Return true if and only if the interior of this rectangle intersects any point (including the
boundary) of the given other rectangle.
Returns the smallest rectangle containing the intersection of this rectangle and the given
rectangle.
boolean
Returns true if this rectangle and the given other rectangle have any points in common.
Returns the smallest cell that contains all descendants of this cell whose bounds intersect
"rect".
Returns the smallest rectangle containing the union of this rectangle and the given rectangle.