|
GPS ToolKit.NET
NavData.TrueBearingFromOriginToDest Property
The true bearing from the current origin waypoint to the current destination waypoint.
Syntax
[Visual Basic]
object.TrueBearingFromOriginToDest
[C#]
object.TrueBearingFromOriginToDest
[C++]
object->TrueBearingFromOriginToDest
Parameters
object
An object expression that evaluates to a NavData object.
Return Value
An Angle object containing the true bearing from the currently selected GPS origin waypoint to the destination waypoint.
Remarks
- This value is not the true bearing from the current position to the destination waypoint,
rather the true bearing from either the origin waypoint, or from the position of the GPS at the moment the
destination waypoint was selected.
- If no true bearing data is reported, the IsValid property of the Angle object is false.
Errors
None
Example
[Visual Basic]
Dim trueBearing As Angle
'Get true bearing from origin to destination
trueBearing = myGPSToolKit.NavigationData.TrueBearingFromOriginToDest
[C#]
// Get true bearing from origin to destination
Angle trueBearing = myGPSToolKit.NavigationData.TrueBearingFromOriginToDest;
[C++]
// Get true bearing from origin to destination
Angle *trueBearing = myGPSToolKit.NavigationData.TrueBearingFromOriginToDest;
See Also
TrueCourse property, TrueBearingToDestWpt property, MagBearingFromOriginToDest property
|