Method | Description | |
---|---|---|
CalcDistance ( double lat1, double lng1, double lat2, double lng2 ) : double |
Calculate the distance between two geocodes. (haversine) http://www.movable-type.co.uk/scripts/latlong.html
|
|
DiffRadian ( double val1, double val2 ) : double | ||
Rad2deg ( double rad ) : double | ||
ToRadian ( double val ) : double |
public static CalcDistance ( double lat1, double lng1, double lat2, double lng2 ) : double | ||
lat1 | double | |
lng1 | double | |
lat2 | double | |
lng2 | double | |
return | double |
public static DiffRadian ( double val1, double val2 ) : double | ||
val1 | double | |
val2 | double | |
return | double |
public static Rad2deg ( double rad ) : double | ||
rad | double | |
return | double |
public static ToRadian ( double val ) : double | ||
val | double | |
return | double |