Construct a box which extends between 2 points. Boundaries: min is inside the box, max is just outside.
Euclidean distance from a point.
Euclidean distance from another box.
Expands the box to include point.
Expands the box to include another box. This function deals with empty boxes correctly.
Extends the area of this Box.
Extends the area of this Box.
Assumes sorted boxes. This function deals with empty boxes correctly.
Assumes sorted boxes. This function deals with empty boxes correctly.
Assign with another box.
Shrink the area of this Box. The box might became unsorted.
Shrinks the area of this Box.
Euclidean squared distance from a point.
Euclidean squared distance from another box.
Translate this Box.
Helper function to create rectangle with a given point, width and height.
N-dimensional half-open interval [a, b[.