Click or drag to resize

MathUtilGetHeading Method

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Get the heading between LatLons.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public static double GetHeading(
	LatLon origin,
	LatLon destination
)

Parameters

origin
Type: Telogis.GeoBaseLatLon
The origin, as a LatLon.
destination
Type: Telogis.GeoBaseLatLon
The destination, as a LatLon.

Return Value

Type: Double
A heading in degrees, where 0 ≤ heading < 360. If the origin and the destination are the same, returns NaN.
Remarks
Finds the heading (bearing) of pb from p.
See Also