sqrDistance
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
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