SciPy

This is documentation for an old release of SciPy (version 0.17.1). 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(other, p=2.0)[source]

Compute the minimum distance between points in the two hyperrectangles.

Parameters:

other : hyperrectangle

Input.

p : float

Input.