-
Notifications
You must be signed in to change notification settings - Fork 214
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_ returns incomplete result polygon #1183
Comments
It seems to work very well when all points are rounded to the nearest .1, but I'd rather not do that for each polygon because that may lead to self-intersecting (multi-)polygons. Thank you for maintaining a great library! |
Thanks for yoru report and compliment. |
Just tested these shapes again in godbolt with clang 16 and boost 1.82.0 to make sure no weird settings are present.
|
It's not the same issue as #1186 |
It's fixed in PR #1193 |
union_ returns an incomplete result polygon in a special case where large portions of the two input polygons overlap
Tested with VS2017 (msvc-14.1), boost Versions 1.79.0, 1.82.0, 1.83.0
The upper small branch of the polygon is comletely lost in the result. The two shapes have a few points in common but do not overlap exactly in the vicinity of the lost branch.
The text was updated successfully, but these errors were encountered: