The Position class¶
- class nvgr.Position(latitude: Latitude, longitude: Longitude)¶
Bases:
objectA position with a latitude and longitude
Attributes¶
- latitudeLatitude
the latitude
- longitudeLongitude
the longitude
Methods¶
__init__(latitude, longitude) - create a new position
__str__() - resturn the position as a string
parse(fmt) - parse the string into a position