operator - method

UTMCoordinates operator -(
  1. UTMCoordinates other
)

Substracts 2 UTM coordinates together, this is assuming that the zone number is the same for the other UTM coordinates

Implementation

UTMCoordinates operator -(UTMCoordinates other) => UTMCoordinates(
    x: x - other.x,
    y: y - other.y,
    zoneNumber: zoneNumber,
    isSouthernHemisphere: isSouthernHemisphere,
  );