def min_distance_rectangle(self, other, p=2.):
        return minkowski_distance(0, np.maximum(0,np.maximum(self.mins-other.maxes,other.mins-self.maxes)),p)
Compute the minimum distance between points in the two hyperrectangles.
dataset/ETHPy150Open scipy/scipy/scipy/spatial/kdtree.py/Rectangle.min_distance_rectangle