-
Notifications
You must be signed in to change notification settings - Fork 216
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
union_ discards result because of improper inner ring assignment #1186
Comments
👍 thanks, for the source code and the most possible root cause. I can reproduce it |
I've a fix, will create a PR later today. It's not the ring assignment itself, it is because a turn is not set as startable, and that comes from a tolerance value which is too high. |
I will also check if it fixes #1183 too |
Fixes: issue boostorg#1186
Fixes: issue boostorg#1186
Fixed |
Fixes: issue boostorg#1186
In the following union_ - operation, result is empty even though both input shapes are valid. This seems to stem from an improper assignment of an inner ring. In the add_rings function, the first inner ring of the SECOND poly in polyB gets assigned to the first output poly, which ist the FIRST ring of polyB and as such completely outside of the inner ring.
Tested in with msvc 14.1 boost 1.82.0 and 1.83.0 and godbolt clang 16 boost 1.82.0
The text was updated successfully, but these errors were encountered: