InteractionFloodSimulation

침수 시뮬레이션 영역 생성 인터랙션 클래스. (일반적으로 PopupFloodSimulation을 통해 실행됩니다.)

new Ditap.InteractionFloodSimulation(viewer)

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:

off()

사용자 입력 이벤트 핸들러 및 생성된 엔티티 해제.

on()

침수 시뮬레이션 영역 입력을 위한 이벤트 핸들러 활성화.