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