fix(junction): protect entry surfaces from exclusion regions
This commit is contained in:
1 parent
9b6b5b5791
commit
a22319a149
3 files changed
+31
No files matched your search
@@ -123,6 +123,19 @@ function buildComplexJunctionGeometry(model, cluster, helpers) {
|
||||
// carriageway's outer transition, leaving neighboring arms untouched. A
|
||||
// collapsed handoff is reported and omitted rather than publishing a
|
||||
// zero-area trapezoid that downstream layers could mistake for pavement.
|
||||
if (section.exclusionStatus !== 'clear') {
|
||||
transitionDiagnostics.push(
|
||||
helpers.diagnostic(
|
||||
'warning',
|
||||
`carriageway:${item.key}`,
|
||||
item.approach.roadIds.map(String),
|
||||
'complex-junction-entry-overlaps-known-region',
|
||||
'该进口过渡区域侵入已知排除区域,已省略该进口面以保留来源区域。',
|
||||
section.inner.point,
|
||||
),
|
||||
);
|
||||
continue;
|
||||
}
|
||||
if (section.transitionStatus !== 'supported') {
|
||||
transitionDiagnostics.push(
|
||||
helpers.diagnostic(
|
||||
|
||||
Reference in new issue
Block a user