]> gitweb.michael.orlitzky.com - dead/census-tools.git/blobdiff - src/GPS.py
Added the linear program solving the midatlantic region.
[dead/census-tools.git] / src / GPS.py
index acd8e9c570da0f2f12d921a84e5a8b0d22e39d9c..59f8d5b3c2092ba3df2b16cce8c66c449f0526d9 100644 (file)
@@ -1,9 +1,6 @@
-from math import sqrt
-
-
 class Coordinates:
-    """Represents a set of GPS coordinates (latitude/longitude)."""
+    """Represents a set of GPS coordinates (longitude/latitude)."""
     
-    def __init__(self):
-        self.latitude = 0
-        self.longitude = 0
+    def __init__(self, x=0, y=0):
+        self.longitude = x
+        self.latitude = y