code: def mid_pt(self):
          
          midp = (self.max_pt + self.min_pt) / 2.
          midp[~self.nondegen_byaxis] = self.min_pt[~self.nondegen_byaxis]
          return midp
docs: Midpoint of this interval product.