[Kflog Index] [Kflog Hierarchy] [Headers]
Location is used to represent the Cartesian-coordinates More...
#include <mapobject.h>
Location is used to represent the Cartesian-coordinates. The resolution used here is 1/10,000th of a minute (approx 0.1852m on a great circle). We decided to use minutes instead of seconds as base unit, because our GPS-Logger used them likewise ;-) Therefore: 1 second := ~167 1 minute := 10,000 1 degree := 600,000 Earth's circumference (1 degree * 360) is 216,000,000, so we can use 32 bit integer vars to represent these values! Positive values mean North or East and negative values South or West
[public]
creates an empty Location-object.
[public]
creates a new Location-object with the given coordinates.
[public]
destroys the object
[public]
sets the latitude
[public]
sets the lonitude
[public]
returns the latitude
[public]
returns the lonitude
[private]
the latitude ;-)
[private]
the londitude ;-)
Documentation generated by heiner@Tharbad on Mon Jul 26 18:16:35 CEST 1999 | Kdoc |