def center(self):
        '''
        Point whose coordinates are (midX,midY,origin.z), Point.
        '''
        return Point(self.midX, self.midY, self.origin.z)
Point whose coordinates are (midX,midY,origin.z), Point.