fractionTo

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

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

Parameters

other

GeoPoint of the other geographic point.

distance

Total Distance enclosing both GeoPoint elements.