Salta ai contenuti
Seleziona lingua:Italiano
Questa pagina è disponibile solo in inglese.

MCL 1.3.5

fun distance(longitude: Double, latitude: Double): Double

Calculates the distance between the origin and another set of coordinates.

Return

The distance in meters.

Parameters

longitude

The longitude of the other location.

latitude

The latitude of the other location.


fun distance(coord: Coord2D): Double

Calculates the distance between the origin and another set of coordinates.

Return

The distance in meters.

Parameters

coord

The other location.