ZylGPSReceiver Mobile

GPSPosition.Bearing Method (Double, Double, Double, Double)

Returns bearing in decimal degrees between two points.

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

Parameters

Double
Latitude of the first point in decimal degrees.
Double
Longitude of the first point in decimal degrees.
Double
Latitude of the second point in decimal degrees.
Double
Longitude of the second point in decimal degrees.

Return Value

Bearing in decimal degrees.

See Also

GPSPosition Class | ZylGPSReceiverMobile Namespace | GPSPosition.Bearing Overload List