scipy.spatial
Rectangle.
min_distance_point
Return the minimum distance between input and points in the hyperrectangle.
Input.
scipy.spatial.Rectangle.max_distance_rectangle
scipy.spatial.Rectangle.min_distance_rectangle