#include <LbsPositionCalc.h>
Link against:
lbsselflocate.lib
This item is not part of the S60 5th Edition SDK
class TPositionCalc;
Description
Members
Defined in TPositionCalc
:
GetBearing(const TCoordinate &,const TCoordinate &,TReal32 &)
Calculate distance between two TCoordinates
GetBearing(const TLocality &,const TLocality &,TReal32 &,TReal32 &)
Calculate distance between two TLocality
GetDistance(const TCoordinate &,const TCoordinate &,TReal32 &)
Calculate distance between two TCoordinates
GetDistance(const TLocality &,const TLocality &,TReal32 &,TReal32 &)
Calculate distance between two TLocality
GetSpeed(const TPosition &,const TPosition &,TReal32 &)
Calculate distance between two TPositions
GetSpeed(const TPosition &,const TPosition &,TReal32 &,TReal32 &)
Calculate distance between two TPositions
Translate(const TCoordinate &,const TReal32 &,const TReal32 &,TCoordinate &)
Translate the stop coordinate by start point and given distance and bearing betw...
Member functions
GetDistance(const TCoordinate &,const TCoordinate &,TReal32 &)
IMPORT_C static TInt GetDistance(const TCoordinate &aStartCoor, const TCoordinate &aStopCoor, TReal32 &aDistance);
Description
Calculate distance between two TCoordinates
Parameters
Return value
TInt
|
The calculation error
|
|
GetDistance(const TLocality &,const TLocality &,TReal32 &,TReal32 &)
IMPORT_C static 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
|
|
GetBearing(const TCoordinate &,const TCoordinate &,TReal32 &)
IMPORT_C static TInt GetBearing(const TCoordinate &aStartCoor, const TCoordinate &aStopCoor, TReal32 &aBearing);
Description
Calculate distance between two TCoordinates
Parameters
Return value
TInt
|
The calculation error
|
|
GetBearing(const TLocality &,const TLocality &,TReal32 &,TReal32 &)
IMPORT_C static 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
|
|
GetSpeed(const TPosition &,const TPosition &,TReal32 &)
IMPORT_C static TInt GetSpeed(const TPosition &aStartPos, const TPosition &aStopPos, TReal32 &aSpeed);
Description
Calculate distance between two TPositions
Parameters
Return value
TInt
|
The calculation error
|
|
GetSpeed(const TPosition &,const TPosition &,TReal32 &,TReal32 &)
IMPORT_C static 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
|
|
Translate(const TCoordinate &,const TReal32 &,const TReal32 &,TCoordinate &)
IMPORT_C static 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
|
|