code: def direct2dDistance(self, point):
          
          if not isinstance(point, MapPoint): return 0.0
          return  ((self.x-point.x)**2 + (self.y-point.y)**2)**(0.5) # simple distance formula
docs: consider the distance between two mapPoints, ignoring all terrain, pathing issues