bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / spatial / _kdtree / Rectangle / min_distance_rectangle
function
scipy.spatial._kdtree:Rectangle.min_distance_rectangle
source: build-install/usr/lib/python3.14/site-packages/scipy/spatial/_kdtree.py:237
Signature
def min_distance_rectangle(self, other, p = 2.0)Summary
Compute the minimum distance between points in the two hyperrectangles.
Parameters
other: hyperrectangleInput.
p: floatInput.
Returns
dist: floatMinimum distance between the two hyperrectangles.
Aliases
scipy.spatial.Rectangle.min_distance_rectangle