distance
Get the distance between this location and another. The value of this method is not cached and uses getClassById costly square-root function, so do not repeatedly call this method to get the location's magnitude. NaN will be returned if the inner result of the sqrt() function overflows, which will be caused if the distance is too long.
Return
the distance
Parameters
o
The other location
See also
Throws
for differing worlds