lerpFrom method

GeoCoordinate lerpFrom(
  1. GeoCoordinate other,
  2. double t
)

Linearly interpolate from other coordinate to this coordinate by an extrapolation factor t.

Implementation

GeoCoordinate lerpFrom(GeoCoordinate other, double t) {
  return GeoCoordinate(lerpDouble(other.x, x, t)!, lerpDouble(other.y, y, t)!,
      lerpDouble(other.z, z, t)!);
}