feat(cam-geom): add Contour::reversed for ring-to-island conversion #60
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "patman/cam-reversed"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Small primitive for the clearing strategy: ContourSegment::reversed + Contour::reversed (reverse segment order; lines swap endpoints; arcs start+=sweep, sweep negates). reversed.point_at(u) == original.point_at(1-u) exactly — reviewer derived the correspondence and confirmed every Contour::new invariant survives by symmetry, so re-validation is safely skipped. Needed to turn a CCW cleared-envelope ring into a CW stock island. Stacked on patman/cam-seed (#57).