code: def distance(self, other):
          
          from numpy.linalg import norm
          if isinstance(other, one):
              other = other.center
          return norm(self.center - asarray(other), ord=2)
docs: Distance between the center of this region and another.
  
          Parameters
          ----------
          other : one region, or array-like
              Either another region, or the center of another region.