TrueBearingToDest Property
Returns the true bearing to the current destination waypoint.
Syntax
Visual Basic
object.TrueBearingToDest
Visual C++
object.GetTrueBearingToDest()
| Part
| Description |
| object |
An object expression that evaluates to a GPS ToolKit object. |
Example
Visual Basic
Dim trueBearing As Double
'Get true bearing to destination waypoint
trueBearing = myGPSToolKit.TrueBearingToDest
Visual C++
_variant_t vtTrueBearing;
// Get true bearing to destination waypoint
vtTrueBearing = m_myGPSToolKit.GetTrueBearingToDest();
double trueBearing = (double)vtTrueBearing;
Remarks
None
Default
Empty (VT_EMPTY)
Returns
A VARIANT (type VT_R8/double) containing the last reported true bearing value in degrees.
If no true bearing data is reported the variable will be empty (type VT_EMPTY).
Errors
None
See Also
TrueCourse property, DestClosingVelocity property, RangeToDest property, CrossTrackError property, NavUpdate event
|