- regularize.rs: ρ=0 no-op, 0<ρ<1 lerp non-frontage verts toward
OBB-snapped target, ρ=1 full snap to oriented bounding rectangle.
- viz: add fig_03_cul_de_sac, fig_05_acute_corner, plot_subdivision_perf
(~125 µs/parcel at 25×25 scale), plot_parcel_area_hist (varied-block
scene so the distribution is actually distributed). fig_07 panels at
ρ ∈ {0, 0.5, 1.0} on a Y intersection (rectangles are no-ops for OBB).
- subdivide.rs cleanup pass: drop parcels on diff/union/conversion
fallback paths instead of pushing untracked claims (was admitting
overlaps). find_frontage_edge_after_clip now takes a tolerance — the
cleanup pass uses a few-mm window since its inputs are 1mm-snapped.
- tests: bump assert_no_overlapping_parcels tol to 1cm² (the snap grid
produces ~mm-scale slivers between adjacent parcels at intersection
centers; still well below min_area).
Closes M1.0 DoD: all named tests pass, all spec figures present, OBB
regularization working, perf at ~0.13 ms/parcel.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2.6 KiB
2.6 KiB