geoDistance<T> method
Calculate the distance between geographic points.
Implementation
double geoDistance<T>() => foldWithNext(0.0, (count, p, c) => count + p.distance(c));
Calculate the distance between geographic points.
double geoDistance<T>() => foldWithNext(0.0, (count, p, c) => count + p.distance(c));