mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-10 23:01:02 +00:00
The second sweep of `unite_all` joins contours that lie within the sweep tolerance of each other, and the first sweep can leave such contours apart. `solid::tests::meets_within_twice_the_boolean_tolerance` needs that join. A single input now skips the second sweep only when no two of its segments lie within twice the tolerance. The check compares at most 512 pairs per segment and runs the second sweep past that. `unite_parts` tests the single-input case before it builds the combined path, and it takes `parts` and `inputs` by value so that both are freed before the second sweep.