DestClosingVelocity Property
Returns the closing velocity to the current destination waypoint.
Syntax
Visual Basic
object.DestClosingVelocity
Visual C++
object.GetDestClosingVelocity()
| Part
| Description |
| object |
An object expression that evaluates to a GPS ToolKit object. |
Example
Visual Basic
Dim closingVelocity As Double
'Get closing velocity
closingVelocity = myGPSToolKit.DestClosingVelocity
Visual C++
_variant_t vtClosingVelocity;
// Get closing velocity
vtClosingVelocity = m_myGPSToolKit.GetDestClosingVelocity();
double closingVelocity = (double)vtClosingVelocity;
Remarks
DestClosingVelocity is returned in the units defined in the
SpeedUnits property.
Default
Empty (VT_EMPTY)
Returns
A VARIANT (type VT_R8/double) containing the velocity component in the direction
of the current destination waypoint. If no speed data is reported the variable will be empty (type VT_EMPTY).
Errors
None
See Also
SpeedUnits property, RangeToDest property,
TrueBearingToDest property, CrossTrackError property, NavUpdate event
|