Files
vectorcraft/crates/pathops/src/planar
dotCooCoo c24aacb328 Live Paint: edges that leave a vertex together keep the sweep's order
Since craft-libs#721 the sweep places output curves on their inputs near
a flat end. Where a ring's hole and a disk share a circle, it now puts
the two copies of the circle less than the flattening tolerance apart
where they leave a vertex. leaving_angle flattened each edge, after its
ends were moved onto the vertex, so the two copies could swap places
around the vertex and a face was lost: at unit size the ring's face
reported the disk as its source, and livePaint.make gave 2 faces
instead of 3.

leaving_angle now measures each edge as the sweep placed it, before its
ends were moved, and finds the point at distance r on the curve itself
by bisection.
2026-11-28 14:17:43 -08:00
..