Skip to content

flip transition if swapping between hole & exterior#148

Draft
rowanwins wants to merge 1 commit intomasterfrom
connect-edges-transition
Draft

flip transition if swapping between hole & exterior#148
rowanwins wants to merge 1 commit intomasterfrom
connect-edges-transition

Conversation

@rowanwins
Copy link
Copy Markdown
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