Replies: 2 comments 6 replies
-
Part of being valid is having polygon loops be correctly oriented relative
to one another, so holes can only exist inside a shell. Taking three
shells and inverting one of them will flip it to contain the other two
holes and you'll end up with three total. There's no such creature as a
valid polygon with just three holes.
…On Fri, Jun 28, 2024 at 10:32 AM dm356 ***@***.***> wrote:
I'm noticing that if I Invert a polygon containing multiple disjoint
loops, the algorithm only inverts one of the loops. Is this a bug, or is
there a better way to turn three separate loops into a single polygon of
three separate holes?
—
Reply to this email directly, view it on GitHub
<#370>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGEMKS6A44TI2RZWGI64JDZJWF3LAVCNFSM6AAAAABKCGNAG2VHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWHA3TIMRRGE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
smcallis
-
I just built a polygon and inverted it:
|
Beta Was this translation helpful? Give feedback.
3 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'm noticing that if I Invert a polygon containing multiple disjoint loops, the algorithm only inverts one of the loops. Is this a bug, or is there a better way to turn three separate loops into a single polygon of three separate holes?
Beta Was this translation helpful? Give feedback.
All reactions