PositionBearing Method (Double, Double, Double, Double)

ZylGpsReceiver.NET Mobile
Returns bearing in decimal degrees between two points.

Namespace:  ZylSoft.Gps.Mobile
Assembly:  ZylGpsReceiverMobile (in ZylGpsReceiverMobile.dll) Version: 3.14.6846.29005
Syntax

public static double Bearing(
	double latitude1,
	double longitude1,
	double latitude2,
	double longitude2
)

Parameters

latitude1
Type: SystemDouble
Latitude of the first point in decimal degrees.
longitude1
Type: SystemDouble
Longitude of the first point in decimal degrees.
latitude2
Type: SystemDouble
Latitude of the second point in decimal degrees.
longitude2
Type: SystemDouble
Longitude of the second point in decimal degrees.

Return Value

Type: Double
Bearing in decimal degrees.
See Also

Reference