class TLocality : public TCoordinate |
Adds an error estimate for the horizontal and vertical accuracy of the point to TCoordinate. Accuracy information is held in a TReal32 and is measure in metres. The class also provides its own methods for determining the distance and bearing to a target point. These methods also provide an error estimate.
Public Member Functions | |
---|---|
TLocality() | |
TLocality(const TCoordinate &, TReal32) | |
TLocality(const TCoordinate &, TReal32, TReal32) | |
IMPORT_C TInt | BearingTo(const TCoordinate &, TReal32 &) |
IMPORT_C TInt | BearingTo(const TLocality &, TReal32 &, TReal32 &) |
IMPORT_C TInt | Distance(const TCoordinate &, TReal32 &) |
IMPORT_C TInt | Distance(const TLocality &, TReal32 &, TReal32 &) |
IMPORT_C TReal32 | HorizontalAccuracy() |
IMPORT_C void | SetAccuracy(TReal32, TReal32) |
IMPORT_C void | SetHorizontalAccuracy(TReal32) |
IMPORT_C void | SetVerticalAccuracy(TReal32) |
IMPORT_C TReal32 | VerticalAccuracy() |
Protected Attributes | |
---|---|
TReal32 | iHorizontalAccuracy |
TReal32 | iVerticalAccuracy |
Private Attributes | |
---|---|
TUint8 | iReserved |
Inherited Attributes | |
---|---|
TCoordinate::iAltitude | |
TCoordinate::iDatum | |
TCoordinate::iLatitude | |
TCoordinate::iLongitude |
IMPORT_C | TLocality | ( | const TCoordinate & | aCoordinate, |
TReal32 | aHorizontalAccuracy | |||
) |
const TCoordinate & aCoordinate | |
TReal32 aHorizontalAccuracy |
IMPORT_C | TLocality | ( | const TCoordinate & | aCoordinate, |
TReal32 | aHorizontalAccuracy, | |||
TReal32 | aVerticalAccuracy | |||
) |
const TCoordinate & aCoordinate | |
TReal32 aHorizontalAccuracy | |
TReal32 aVerticalAccuracy |
IMPORT_C TInt | BearingTo | ( | const TCoordinate & | aTargetCoordinate, |
TReal32 & | aBearing | |||
) | const |
const TCoordinate & aTargetCoordinate | |
TReal32 & aBearing |
IMPORT_C TInt | BearingTo | ( | const TLocality & | aTargetLocality, |
TReal32 & | aBearing, | |||
TReal32 & | aDelta | |||
) | const |
IMPORT_C TInt | Distance | ( | const TCoordinate & | aCoordinate, |
TReal32 & | aDistance | |||
) | const |
const TCoordinate & aCoordinate | |
TReal32 & aDistance |
IMPORT_C TInt | Distance | ( | const TLocality & | aLocality, |
TReal32 & | aDistance, | |||
TReal32 & | aDelta | |||
) | const |
IMPORT_C void | SetAccuracy | ( | TReal32 | aHorizontalAccuracy, |
TReal32 | aVerticalAccuracy | |||
) |
IMPORT_C void | SetHorizontalAccuracy | ( | TReal32 | aHorizontalAccuracy | ) |
TReal32 aHorizontalAccuracy |
IMPORT_C void | SetVerticalAccuracy | ( | TReal32 | aVerticalAccuracy | ) |
TReal32 aVerticalAccuracy |
TReal32 | iHorizontalAccuracy | [protected] |
Horizontal (earths-surface) accuracy, in metres.