The upper (x, y) boundary of this box.
The lower (x, y) boundary of this box.
Returns a copy of this box.
Returns true if this box includes the entirety of box. If this and box overlap exactly, this function also returns true.
Box to test for inclusion.
Returns true if the specified point lies within the boundaries of this box.
Point to check for inclusion.
Returns the distance from any edge of this box to the specified point. If the point lies inside of this box, the distance will be 0.
Point to measure distance to.
Expands each dimension of the box by scalar. If negative, the dimensions of the box will be contracted
Distance to expand.
Expands this box equilaterally by vector. The width of this box will be expanded by the x component of vector in both directions. The height of this box will be expanded by the y component of vector in both directions.
Amount to expand this box in each dimension.
Determines whether or not this box intersects box.
Box to check for intersection against.
Returns true if this box includes zero points within its bounds. Note that a box with equal lower and upper bounds still includes one point, the one both bounds share.
Makes this box empty.
Creates a box bounded by min and max.