Function S2Loop.boundaryApproxEquals

Returns true if two loops have the same boundary except for vertex perturbations. More precisely, the vertices in the two loops must be in the same cyclic order, and corresponding vertex pairs must be separated by no more than "max_error".

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