Skip to content

Cut holes out of offset polygons rather than return separate contours#180

Open
gpeairs wants to merge 1 commit intomainfrom
gp/fix-11
Open

Cut holes out of offset polygons rather than return separate contours#180
gpeairs wants to merge 1 commit intomainfrom
gp/fix-11

Conversation

@gpeairs
Copy link
Copy Markdown
Member

@gpeairs gpeairs commented Mar 23, 2026

Close #11. Offsetting 5 separate hexagons takes about 10% longer with the orientation check, which seems acceptable: 77.820 μs (305 allocs: 31.047 KiB) vs 70.180 μs (293 allocs: 30.172 KiB).

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@gpeairs
Copy link
Copy Markdown
Member Author

gpeairs commented Mar 25, 2026

Is this safe with #175 still open? I'm worried it could introduce that bug into workflows that are currently OK.

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.

offset returns polygons with holes as separate contours

1 participant