MathUtilHeadingDiff Method | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Calculate the difference between two headings.
Namespace:
Telogis.GeoBase
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public static double HeadingDiff(
double head1,
double head2
)
Public Shared Function HeadingDiff (
head1 As Double,
head2 As Double
) As Double
Parameters
- head1
- Type: SystemDouble
First heading. - head2
- Type: SystemDouble
Second heading.
Return Value
Type:
DoubleA heading delta in degrees, where -180 < delta ≤ 180.
Remarks It is assumed that the input headings are both in the range 0 ≤ heading < 360, or both in the range -180 < heading ≤ 180.
See Also