Problem with Difference Operator handling multiple paths. #897
Unanswered
JohnHiltonDevelop
asked this question in
Q&A
Replies: 1 comment
-
John. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently generating two PathsD objects:
The subject represents a quadrilateral, and the clipping represents a history of all previous quadrilateral positions (capped at a maximum of 60), each with its own path.
However, when the clipping polygon becomes dense with lines and self-intersections, the Difference operator is unable to handle it effectively. I have tried applying a union operator to the clipping polygon however that brought its own issues.
I would like to know if this is a limitation with the library or this should be able to be handled.
Thanks.
Video Showcasing the Issue:
https://github.com/user-attachments/assets/2a82e301-f261-4917-8335-51da8d658114
Red: Clipping Polygon
Green: Subject Polygon
Blue Difference Operator Results
Beta Was this translation helpful? Give feedback.
All reactions