fractionTo

fun fractionTo(other: GeoCoordinate, distance: Distance): Double

Calculates the fraction between this GeoCoordinate and the GeoCoordinate comparing to the total distance.

Parameters

other

GeoCoordinate of the other geographic point.

distance

Total Distance enclosing both GeoCoordinate elements.