ZylGPSReceiver.NET

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

Returns bearing in decimal degrees between two points.

[Visual Basic]
Overloads Public Shared Function Bearing( _
   ByVal Double As Double, _
   ByVal Double As Double, _
   ByVal Double As Double, _
   ByVal Double As Double _
) As Double
[C#]
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 | ZylGPSReceiver Namespace | GPSPosition.Bearing Overload List