Click or drag to resize

MathUtilHeadingDiff Method

Verizon Connect Logo
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.98.0.0
Syntax
public static double HeadingDiff(
	double head1,
	double head2
)

Parameters

head1
Type: SystemDouble
First heading.
head2
Type: SystemDouble
Second heading.

Return Value

Type: Double
A 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