C# Class Geolocation.ExtensionMethods

Mostrar archivo Open project: scottschluer/geolocation

Public Methods

Method Description
DiffRadian ( this val1, double val2 ) : double

Diffs the radian.

ToBearing ( this r ) : double

Gets the bearing.

ToDegrees ( this r ) : double

Gets the degrees.

ToRadian ( this d ) : double

Gets the radian.

Method Details

DiffRadian() public static method

Diffs the radian.
public static DiffRadian ( this val1, double val2 ) : double
val1 this First value
val2 double Second value
return double

ToBearing() public static method

Gets the bearing.
public static ToBearing ( this r ) : double
r this The radian
return double

ToDegrees() public static method

Gets the degrees.
public static ToDegrees ( this r ) : double
r this The radian
return double

ToRadian() public static method

Gets the radian.
public static ToRadian ( this d ) : double
d this The double
return double