double angleTo(Edge other) {
      assert from.equals(other.from);
      assert coordinates.size() >= 2;

      double angle = Angle.angle(coordinates.get(0), coordinates.get(1));
      double angleOther = Angle.angle(other.coordinates.get(0), other.coordinates.get(1));

      return Math.abs(Angle.normalize(angle - angleOther));
    }
Processes the added geometries and returns the merged linestrings.
<p>
Can be called more than once.
planetiler-core/src/main/java/com/onthegomap/planetiler/util/LoopLineMerger.java