Skip to content
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

flip transition if swapping between hole & exterior #148

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rowanwins
Copy link
Collaborator

Resolves #128

When constructing one of the output contours it starts a contour, the first event for the contour is part of the interior ring, while the event.prevInResult is from the exterior ring, nowhere near the event... I'm not quite sure how that happens.

This PR adds a check to try and make sure the interior ring get's written to the correct spot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

intersection of polygon with hole results in the hole flipping orientation and causing self-intersection
1 participant