Name | Type | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
analysisOptions |
Object |
분석 옵션.
|
Example:
const viewer = new Ditap.DitapViewer("ditapContainer");
const positions = [
Cartesian3.fromDegrees(126.977384, 37.566130),
Cartesian3.fromDegrees(126.977288, 37.569107),
Cartesian3.fromDegrees(126.982652, 37.568639),
Cartesian3.fromDegrees(126.982534, 37.566156)
];
const analysisFloodSimulation = new AnalysisFloodSimulation({
viewer: viewer,
latitude: "LATITUDE",
longitude: "LONGITUDE",
positions: positions,
floodLevel: 50 // 예: 50미터 수위
});
Methods
getFloodPosition(position) → Cartesian3
지정된 위치에 침수 수위를 적용한 Cartesian3 좌표 반환.
Name | Type | Description |
---|---|---|
position |
Cartesian3 | 원래 좌표. |
Returns:
수위(floodLevel)를 높이로 적용한 좌표.
다각형 내부에 있는 건물 피처들을 반환합니다.
Name | Type | Description |
---|---|---|
allFeatures |
Array | 전체 건물 피처들. |
Returns:
영역 내부에 있는 건물 피처들.
침수 분석 조건: 건물 위치의 고도가 침수 수위보다 낮은 경우 침수 건물로 판단합니다.
Name | Type | Description |
---|---|---|
buildingFeatures |
Array | 분석할 건물 피처들. |
Returns:
침수(피해) 건물 피처들.