-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Negative offset should be empty but is not #873
Comments
LarsSkiba
pushed a commit
to LarsSkiba/Clipper2
that referenced
this issue
Jul 18, 2024
|
LarsSkiba
pushed a commit
to LarsSkiba/Clipper2
that referenced
this issue
Jul 18, 2024
7714d940ca86eb7cc8cf5f9eda2b1486daf32cb1 |
This tolerance does not seem to be sufficient.
In this example 0.996268 does cause the issue. |
I changed the tolerance to 0.999 which is consistent with the tolerances used in surrounding code and updated the pull request. |
LarsSkiba
pushed a commit
to LarsSkiba/Clipper2
that referenced
this issue
Jul 23, 2024
LarsSkiba
pushed a commit
to LarsSkiba/Clipper2
that referenced
this issue
Jul 23, 2024
LarsSkiba
pushed a commit
to LarsSkiba/Clipper2
that referenced
this issue
Jul 23, 2024
LarsSkiba
pushed a commit
to LarsSkiba/Clipper2
that referenced
this issue
Jul 23, 2024
AngusJohnson
added a commit
that referenced
this issue
Jul 24, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello Angus,
after updating from 1.2.3 to 1.4.0 i found this regression. The result should be empty, because of a large negative offset.
Input shown in white.
Offset result shown in red.
The geometry has a maximum width of ~5.2 and the is empty till an offset of -10, at -11 the issue appears and grows in size with larger negative offsets. These numbers are unscaled, the scaling is 8388608.
This following minimal example reproduces the issue and uses an offset of -29.75 * 8388608 :
Would be nice if you could help out, let me know if more details are needed.
Thanks, Lars
The text was updated successfully, but these errors were encountered: