X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2FGPS.py;h=59f8d5b3c2092ba3df2b16cce8c66c449f0526d9;hb=HEAD;hp=acd8e9c570da0f2f12d921a84e5a8b0d22e39d9c;hpb=d1ab5e381a646ad6e2c8ddee581980ca9ae0b18c;p=dead%2Fcensus-tools.git diff --git a/src/GPS.py b/src/GPS.py index acd8e9c..59f8d5b 100644 --- a/src/GPS.py +++ b/src/GPS.py @@ -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