identify the midpoint between two mapPoints

def midPoint(self, point):
        """identify the midpoint between two mapPoints"""
        x = (self.x + point.x)/2.0
        y = (self.y + point.y)/2.0
        z = (self.z + point.z)/2.0
        return MapPoint(x,y,z)