Метод | Описание | |
---|---|---|
deg2rad ( double deg ) : double |
This function converts decimal degrees to radians
|
|
distance ( double lat1, double lon1, double lat2, double lon2, char unit ) : double |
Calculate the distance between two points
|
|
rad2deg ( double rad ) : double |
This function converts radians to decimal degrees
|
public distance ( double lat1, double lon1, double lat2, double lon2, char unit ) : double | ||
lat1 | double | |
lon1 | double | |
lat2 | double | |
lon2 | double | |
unit | char | |
Результат | double |