fractionTo

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

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

Parameters

that

GeoCoordinate of the other geographic point.

distance

Total Distance enclosing both GeoCoordinate elements.