MathUtilGetHeading Method | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Namespace:
Telogis.GeoBase
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public static double GetHeading(
LatLon origin,
LatLon destination
)
Public Shared Function GetHeading (
origin As LatLon,
destination As LatLon
) As Double
Parameters
- origin
- Type: Telogis.GeoBaseLatLon
The origin, as a LatLon. - destination
- Type: Telogis.GeoBaseLatLon
The destination, as a LatLon.
Return Value
Type:
DoubleA 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