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