This is documentation for an old release of SciPy (version 1.8.0). Read this page in the documentation of the latest stable release (version 1.14.1).

scipy.spatial.Rectangle.min_distance_rectangle#

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

Compute the minimum distance between points in the two hyperrectangles.

Parameters
otherhyperrectangle

Input.

pfloat

Input.