scipy.spatial
Rectangle.
max_distance_rectangle
Compute the maximum distance between points in the two hyperrectangles.
Input.
scipy.spatial.Rectangle.max_distance_point
scipy.spatial.Rectangle.min_distance_point