GreatCircle.CalculateVelocityTowardsTarget Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Calculate the velocity towards (or away from) the target. This is often also called VMG (=Velocity made good)
public static UnitsNet.Speed CalculateVelocityTowardsTarget (Iot.Device.Common.GeographicPosition destination, Iot.Device.Common.GeographicPosition currentPosition, UnitsNet.Speed currentSpeed, UnitsNet.Angle currentTrack);
static member CalculateVelocityTowardsTarget : Iot.Device.Common.GeographicPosition * Iot.Device.Common.GeographicPosition * UnitsNet.Speed * UnitsNet.Angle -> UnitsNet.Speed
Public Shared Function CalculateVelocityTowardsTarget (destination As GeographicPosition, currentPosition As GeographicPosition, currentSpeed As Speed, currentTrack As Angle) As Speed
Parameters
- destination
- GeographicPosition
Target waypoint
- currentPosition
- GeographicPosition
Current position
- currentSpeed
- UnitsNet.Speed
Current speed over ground
- currentTrack
- UnitsNet.Angle
Current track (course over ground)
Returns
UnitsNet.Speed
Speed towards target. Negative if moving away from target
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for