rhumbDistance

fun rhumbDistance(location: Location): Double

Computes the angular distance of the rhumb path (line of constant azimuth) between this location and a specified location. In radians, this angle is the arc length of the segment between the two locations. To compute a distance in meters from this value, multiply the return value by the radius of the globe. This function uses a spherical model, not elliptical.

Return

the computed angular distance in radians

Parameters

location

the great circle path's ending location