AngleExtensions.Difference(Angle, Angle) 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 difference between two angles. Useful to compute the angle error between a desired and an actual track.
public static UnitsNet.Angle Difference (UnitsNet.Angle currentTrack, UnitsNet.Angle destinationTrack);
static member Difference : UnitsNet.Angle * UnitsNet.Angle -> UnitsNet.Angle
Public Function Difference (currentTrack As Angle, destinationTrack As Angle) As Angle
Parameters
- currentTrack
- UnitsNet.Angle
First angle, actual direction
- destinationTrack
- UnitsNet.Angle
Second angle, desired direction
Returns
The normalized result of currentTrack
-destinationTrack
. The value is negative if
the current track is to port (left) of the the desired track and positive otherwise
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