feat: measure junction shared seam errors

This commit is contained in:
que01 committed 2026-09-09 17:09:41 +08:00
1 parent 79f83412e6
commit 49212b3f34
4 files changed
+73 -9

No files matched your search

+9
View File
@@ -396,3 +396,12 @@ compiler validation. A saved transition is never silently clamped.
Regression evidence: solver rejects out-of-range/source-mismatched values;
API preview measures the requested length and preserves the outer seam;
save/read/replay reproduces preview geometry; browser input sends the new kind.
Boundary closure reports `sharedSeamErrors` per carriageway and
`maxSharedSeamErrorMeters` as the maximum endpoint distance in local metres
between the core ring edge and its BoundaryGraph `inner` edge. Missing or
non-contiguous edges remain `Infinity`; the value is not a boolean adjacency
placeholder. Explicit transition stations are clamped to the source polyline
range for legacy/direct compiler inputs and marked
`insufficient-source-length` when the requested length cannot fit. The solver
rejects such values before they can be saved.