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_point

Rectangle.min_distance_point(self, x, p=2.0)[source]

Return the minimum distance between input and points in the hyperrectangle.

Parameters
xarray_like

Input.

pfloat, optional

Input.

Previous topic

scipy.spatial.Rectangle.max_distance_rectangle

Next topic

scipy.spatial.Rectangle.min_distance_rectangle