midPointTo method

  1. @override
Projected midPointTo(
  1. Position destination
)
override

Returns a midpoint between this and destination positions calculated in the cartesian coordinate reference system.

To calculate midpoints along the surface of the earth, see spherical and rhumb extensions for Geographic positions implemented by the package:geobase/geodesy.dart library.

Implementation

@override
Projected midPointTo(Position destination) =>
    cartesianMidPointTo(this, destination, to: Projected.create);