SciPy

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

scipy.spatial.Rectangle.min_distance_rectangle

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

Compute the minimum distance between points in the two hyperrectangles.

Parameters
otherhyperrectangle

Input.

pfloat

Input.

Previous topic

scipy.spatial.Rectangle.min_distance_point

Next topic

scipy.spatial.Rectangle.split