Merge remote-tracking branch 'origin/sub_laptop_3' into main_laptop_1
This commit is contained in:
@@ -236,6 +236,8 @@ export function createStructuresBridge(deps: StructuresBridgeDeps) {
|
||||
types: (): StructureType[] => deps.lane.types(),
|
||||
/** 그래프·3D가 쓰는 현재 비정규 측점 목록(시설 줄 · 물넘이포장 제외 — 알약 레인 몫). */
|
||||
irregularStations: () => deps.lane.stations(),
|
||||
/** 측점 계획 입력(종류 · 구조물 · 관)이 다 옴 — 그 전 목록은 「모름」(473). */
|
||||
stationsReady: () => deps.lane.ready(),
|
||||
/** 구조물 종류의 군(A~G · 모르면 undefined) — 측점 고름이 덮어 열 구조물을 가름(216-1). */
|
||||
typeGroup: (typeId: string) => structureTypeMap.get(typeId)?.group,
|
||||
/** [초기선 복원] — 그래프의 배관 투영만 지운다(관 정본은 배수유역이 맡는다). */
|
||||
|
||||
@@ -87,6 +87,8 @@ export interface ProfileRenderContext {
|
||||
base: () => AlignmentBase | null;
|
||||
stationInterval: () => number | undefined;
|
||||
irregularStations: () => IrregularStation[];
|
||||
/** 시설 줄이 측점을 심었나 — 전 = 서버 측점 그대로(빈 목록으로 저장 관 측점을 지우지 않음 · 473). */
|
||||
stationsPlanted?: () => boolean;
|
||||
/** 횡단배수 최소 계획고 대상(시설·제원 반영) — 요약줄 경고 표시에 쓴다.
|
||||
* 편집 차단 가드는 `_Profile_Panel.applyEdits` 한 곳으로 옮겼다(2026-09-02). */
|
||||
minCoverTargets: () => MinCoverPoint[];
|
||||
@@ -150,9 +152,10 @@ function deriveProfile(
|
||||
// 측점 한 벌(272) — 서버의 구조물 측점은 사이드바 목록(관을 옮기면 따라옴)이 갈음하고, 같은 m
|
||||
// 일반 측점은 숨김(구조물이 위) · 표 · ▲▼ · 3D 와 같은 목록(`oneStationList`).
|
||||
const injected = irregularGraphStations(irregularStations, maxChainageOf(longitudinal));
|
||||
const planted = ctx.stationsPlanted?.() ?? true;
|
||||
const graphLongitudinal = {
|
||||
...graphData,
|
||||
stations: oneStationList(graphData.stations, injected),
|
||||
stations: planted ? oneStationList(graphData.stations, injected) : graphData.stations,
|
||||
};
|
||||
return { designProfiles, stale, pending, graphData, graphLongitudinal };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user