public DualMidpointSmoother setMinVertexOffset(double minVertexOffset) {
    this.minSquaredVertexOffset = minVertexOffset * Math.abs(minVertexOffset);
    return this;
  }
Sets the min distance between a vertex and the line between its neighbors below which a vertex will not be
squashed.
<p>
If all points are below this threshold for an entire iteration then smoothing will stop before the maximum number
of iterations is reached.
planetiler-core/src/main/java/com/onthegomap/planetiler/geo/DualMidpointSmoother.java