Location:
LbsPositionCalc.h
Link against: lbsselflocate.lib
static IMPORT_C TInt GetDistance(const TCoordinate &aStartCoor, const TCoordinate &aStopCoor, TReal32 &aDistance);
Description
Calculate distance between two TCoordinates
Parameters
Return value
TInt
|
The calculation error
|
|
static IMPORT_C TInt GetDistance(const TLocality &aStartLoc, const TLocality &aStopLoc, TReal32 &aDistance, TReal32 &aDelta);
Description
Calculate distance between two TLocality
Parameters
Return value
TInt
|
The calculation error
|
|
static IMPORT_C TInt GetBearing(const TCoordinate &aStartCoor, const TCoordinate &aStopCoor, TReal32 &aBearing);
Description
Calculate distance between two TCoordinates
Parameters
Return value
TInt
|
The calculation error
|
|
static IMPORT_C TInt GetBearing(const TLocality &aStartLoc, const TLocality &aStopLoc, TReal32 &aBearing, TReal32 &aDelta);
Description
Calculate distance between two TLocality
Parameters
Return value
TInt
|
The calculation error
|
|
static IMPORT_C TInt GetSpeed(const TPosition &aStartPos, const TPosition &aStopPos, TReal32 &aSpeed);
Description
Calculate distance between two TPositions
Parameters
Return value
TInt
|
The calculation error
|
|
static IMPORT_C TInt GetSpeed(const TPosition &aStartPos, const TPosition &aStopPos, TReal32 &aSpeed, TReal32 &aDelta);
Description
Calculate distance between two TPositions
Parameters
Return value
TInt
|
The calculation error
|
|
static IMPORT_C TInt Translate(const TCoordinate &aStartCoor, const TReal32 &aDistance, const TReal32 &aBearing, TCoordinate
&aStopCoor);
Description
Translate the stop coordinate by start point and given distance and bearing between two TCoordinates
Parameters
Return value
TInt
|
The calculation error
|
|