Esempio n. 1
0
 def to_kilometers(self):
     return get_distance(self.point1, self.point2, EARTH_KILOM)
Esempio n. 2
0
 def to_miles(self):
     return get_distance(self.point1, self.point2, EARTH_MILES)