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
otherhyperrectangle

Input.

pfloat, optional

Input.