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