feat(junction): edit complex cutbacks and corners
This commit is contained in:
1 parent
d0e1f62f2b
commit
80f122be46
15 files changed
+354
-38
No files matched your search
@@ -316,14 +316,20 @@ then `structureFromTopology(topology, shape, center, features)`. Projection is
|
||||
`cluster:<id>`. The legacy singular field is null at this unscoped entry point.
|
||||
- `GET /api/edit-state?junction=<node>` preserves the node selection contract;
|
||||
`?cluster=<id>` selects a cluster. Preview uses the equivalent `selection`
|
||||
object. A selected editable cluster publishes only `cluster-carriageway-width`
|
||||
handles for its external carriageways.
|
||||
- A `cluster-carriageway-width` anchor contains `clusterId`, stable
|
||||
object. A selected editable cluster publishes `cluster-carriageway-width`,
|
||||
`cluster-carriageway-cutback`, and `cluster-corner-radius` handles only for
|
||||
its external geometry.
|
||||
- A cluster carriageway anchor contains `clusterId`, stable
|
||||
`carriagewayKey`, `sourceNodeIds`, and `sourceRoadIds`. Replay matches all
|
||||
source identity; a missing or changed source is stale with `anchor-missing`.
|
||||
The solver stores accepted values in `clusterPlans`, and `compileGeometry()`
|
||||
applies them to the matching complex-junction approach before geometry is
|
||||
generated. It must not widen unrelated member-node approaches.
|
||||
The solver stores width and cutback values separately, and `compileGeometry()`
|
||||
applies them only to the matching complex-junction approach before geometry is
|
||||
generated.
|
||||
- A cluster corner anchor contains its stable adjacent-arm `cornerKey` and the
|
||||
two representative carriageway keys. It is replayed against the same
|
||||
source-sorted arm grouping used by `resolveComplexJunctionTopology()`. The
|
||||
complex generator reads a local radius by that `cornerKey`; no other corner is
|
||||
rewritten.
|
||||
- Preview and save both evaluate the same candidate through the resolver and
|
||||
`compileGeometry()`. Save rejects every `severity: error` diagnostic before
|
||||
writing the edit document.
|
||||
|
||||
Reference in new issue
Block a user