Rectangle.
max_distance_rectangle
Compute the maximum distance between points in the two hyperrectangles.
Input.