fix: clip complex junction lane separators

This commit is contained in:
que01 committed 2026-09-29 09:23:26 +08:00
1 parent 05614d1a69
commit 1842eb7d8c
8 files changed
+222 -3

No files matched your search

@@ -0,0 +1,27 @@
# Implementation Plan
1. Add a focused geometry regression for the `8005332807` complex cluster that
identifies white marking features and asserts their published geometry does
not overlap generated crosswalk/stop-line controls or the interior side of
the approach boundary.
2. Update complex center-line and preview lane-separator trimming to orient by
cluster center before applying the first-control cutoff.
3. Add an opposite-direction synthetic/control assertion proving ordinary
junction markings retain their current behavior.
4. Run focused junction marking tests, then the full test suite and diff checks.
## Validation
- `node test/junction-corridor-markings.js`
- `node test/junction-marking-containment.js`
- `node test/junction-layer-seams.js`
- `npm test`
- `git diff --check`
## Risky Files
- `src/compile/native-road.js`
- `test/junction-corridor-markings.js` or the closest existing geometry test
Do not update fixture baselines unless the final behavior change is reviewed
and explicitly intended.