sqrDistance
open fun sqrDistance(@NonNull from: MPLatLng, @NonNull to: MPLatLng): Double
Content copied to clipboard
open fun sqrDistance(@NonNull from: MPPoint, @NonNull to: MPPoint): Double
Content copied to clipboard
Given two points, returns the squared distance.
Return
The squared distance in the units set in the MPFastSphericalUtils CTOR
Parameters
open fun sqrDistance( fromLatitude: Double, fromLongitude: Double, toLatitude: Double, toLongitude: Double): Double
Content copied to clipboard
Given two points, returns the squared distance.
Return
The squared distance in the units set in the MPFastSphericalUtils CTOR
Parameters
fromLatitude
from latitude
fromLongitude
from longitude
toLatitude
to latitude
toLongitude
to longitude