-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Labels
help wantedExtra attention is neededExtra attention is needed
Description
In converting from PShapes to Geometries, it was assumed until now that in shapes having multiple contours, every contour beyond the first must represent a hole.
Here's one counter-example to this assumption, where each band of the letter is not a child shape, but a contour:
To convert such shapes properly the code must check the winding of each contour: if it winds in the opposing (usually counter-clockwise) direction to the first contour, it represents a hole; if it winds in the same direction as the first contour, it represents another shape feature and should be preserved.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed
