|
Public Member Functions |
| IMPORT_C | TCoordinate () |
| | Default constructor for TCoordinate.
|
| IMPORT_C | TCoordinate (const TReal64 &aLatitude, const TReal64 &aLongitude) |
| | Constructor for TCoordinate.
|
| IMPORT_C | TCoordinate (const TReal64 &aLatitude, const TReal64 &aLongitude, TReal32 aAltitude) |
| | Constructor for TCoordinate.
|
| IMPORT_C void | SetCoordinate (const TReal64 &aLatitude, const TReal64 &aLongitude) |
| | This method assigns a new latitude and longitude to the object.
|
| IMPORT_C void | SetCoordinate (const TReal64 &aLatitude, const TReal64 &aLongitude, TReal32 aAltitude) |
| | This method assigns a new latitude, longitude and altitude to the object.
|
| IMPORT_C void | SetDatum (TPositionDatumId aDatum) |
| | This method assigns a new datum to the object.
|
| IMPORT_C TReal64 | Latitude () const |
| | Accessor for latitude.
|
| IMPORT_C TReal64 | Longitude () const |
| | Accessor for longitude.
|
| IMPORT_C TReal32 | Altitude () const |
| | Accessor for altitude.
|
| IMPORT_C TPositionDatumId | Datum () const |
| | Accessor for the datum.
|
| IMPORT_C TInt | Distance (const TCoordinate &aCoordinate, TReal32 &aDistance) const |
| | This method calculates the distance between this coordinate and the supplied coordinate.
|
| IMPORT_C TInt | BearingTo (const TCoordinate &aTargetCoordinate, TReal32 &aBearing) const |
| | This method calculates the bearing from this coordinate to the supplied coordinate.
|
| IMPORT_C TInt | Move (TReal32 aBearing, TReal32 aDistance) |
| | This method moves this coordinate aDistance in the direction specified by aBearing.
|
Protected Attributes |
| TReal64 | iLatitude |
| | Latitude, defaults to WGS-84 format.
|
| TReal64 | iLongitude |
| | Longitude, defaults to WGS-84 format.
|
| TReal32 | iAltitude |
| | Altitude, defaults to WGS-84 format.
|
| TPositionDatumId | iDatum |
| | The ID of the datum the coordinate is in, defaults to WGS-84 format.
|
| TUint8 | iReserved [4] |
| | Unused variable for future expansion.
|