def max_distance_rectangle(self, other, p=2.):
        return minkowski_distance(0, np.maximum(self.maxes-other.mins,other.maxes-self.mins),p)
Returns an extra filter condition for related object fetching when
dataset/ETHPy150Open scipy/scipy/scipy/spatial/kdtree.py/Rectangle.max_distance_rectangle--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/db/models/fields/related.py/ForeignObject.get_extra_descriptor_filter