Method | Description | |
---|---|---|
Coordinate ( double lat, double lon ) : System | ||
Coordinate ( string lat, string lon ) : System | ||
DegreeToRadians ( double degrees ) : double | ||
GreatCircleDistance ( Coordinate other ) : double |
Computes the distance between this coordinate and another point on the earth. Uses spherical law of cosines formula, not Haversine.
|
|
RadianToDegree ( double angle ) : double |
public Coordinate ( double lat, double lon ) : System | ||
lat | double | |
lon | double | |
return | System |
public Coordinate ( string lat, string lon ) : System | ||
lat | string | |
lon | string | |
return | System |
public DegreeToRadians ( double degrees ) : double | ||
degrees | double | |
return | double |
public GreatCircleDistance ( Coordinate other ) : double | ||
other | Coordinate | The other point |
return | double |
public RadianToDegree ( double angle ) : double | ||
angle | double | |
return | double |