| Name | Type | Description |
|---|---|---|
viewer |
DitapViewer | 사용할 Ditap Viewer 인스턴스. |
Example:
const viewer = new Ditap.DitapViewer("ditapContainer");
// PopupFloodSimulation이 생성한 인스턴스 사용
const popup = new Ditap.PopupFloodSimulation(viewer);
const interaction = popup.interactionFloodSimulation;
// 직접 생성
const floodInteraction = new Ditap.InteractionFloodSimulation(viewer);
Methods
createWarningAlert() → DitapAlert
점이 3개 미만일 경우의 경고창 생성
Returns:
사용자 입력 이벤트 핸들러 및 생성된 엔티티 해제.
침수 시뮬레이션 영역 입력을 위한 이벤트 핸들러 활성화.
