SciPy

scipy.spatial.Rectangle.max_distance_rectangle

Rectangle.max_distance_rectangle(other, p=2.0)[source]

Compute the maximum distance between points in the two hyperrectangles.

Parameters:
other : hyperrectangle

Input.

p : float, optional

Input.