Function S2Cap.approxEquals

Returns true if the cap center and height differ by at most "max_error" from the given cap "other".

bool approxEquals (
  in const(S2Cap) other,
  S1Angle max_error_angle = fromRadians(1e-14)
) const;