Function S2Polygon.boundaryApproxEquals

Return true if two polygons have the same boundary except for vertex perturbations. Both polygons must have loops with the same cyclic vertex order and the same nesting hierarchy, but the vertex locations are allowed to differ by up to "max_error".

bool boundaryApproxEquals (
  in const(S2Polygon) b,
  S1Angle max_error = fromRadians(1e-15)
) const;