DroneSimulationVerticalScan

드론시뮬레이션 수직스캔 클래스.
DroneSimulation vertical scan class.
이 객체는 일반적으로 직접 인스턴스화되지 않습니다. DroneSimulationVerticalScan.fromCartesianArray 사용을 권장합니다.
또한, 단일 DroneSimulation 클래스 내에서만 사용되는 것을 권장합니다.
This object is normally not instantiated directly, use DroneSimulationVerticalScan.fromCartesianArray.
It is recommended to be used only within a single DroneSimulation class.

new Ditap.DroneSimulationVerticalScan(viewer, options)

Name Type Description
viewer DitapViewer 사용할 Ditap Viewer 인스턴스.
The DitapViewer instance to use.
options DroneSimulationVerticalScan.ConstructorOptions DroneSimulationVerticalScan 생성자의 초기화 옵션.
Initialization options for the DroneSimulationVerticalScan constructor.
See:

Members

clampToGround : boolean

경로를 지면에 고정할지 여부.
Whether to anchor the path to the ground.

horizontalSpacing : Object

수평 촬영 간격.
Horizontal shooting interval.

readonly id : string

수직스캔 객체 아이디.
Vertical scan object ID.

readonly isReady : boolean

수직스캔 촬영계획 완료 여부.
Whether the vertical scan shooting plan is complete.

maximumHeight : number

최대 높이.
Maximum height.

minimumHeight : number

최소 높이.
Minimum height.

name : string

수직스캔 객체 이름.
Vertical scan object name.

readonly positions : Array.<Cartesian3>

사진측량 영역 좌표.
Photogrammetry area coordinates.

readonly readyEvent : Event

수직스캔 촬영계획 완료 여부 이벤트.
Event to determine whether the vertical scan shooting plan has been completed.

show : boolean

수직스캔 엔티티 가시화 여부.
Whether vertical scan entities are visible.

verticalSpacing : number

수직 촬영 간격.
Vertical shooting interval.

readonly viewer : DitapViewer

사용할 Ditap Viewer 인스턴스.
The DitapViewer instance to use.

Methods

async static Ditap.DroneSimulationVerticalScan.fromCartesianArray(viewer, positions, options)Promise.<DroneSimulationVerticalScan>

DroneSimulationVerticalScan 생성.
Create a DroneSimulationVerticalScan.
Name Type Description
viewer DitapViewer 사용할 Ditap Viewer 인스턴스.
The DitapViewer instance to use.
positions Array.<Cartesian3> 수직스캔 영역 좌표.
Vertical scan area coordinates.
options DroneSimulationVerticalScan.ConstructorOptions DroneSimulationVerticalScan 생성자의 초기화 옵션.
Initialization options for the DroneSimulationVerticalScan constructor.
Returns:
수직스캔 Promise 객체.
Vertical scan Promise object.

calculateCameraRotation(startPosition, endPosition, isReverse)Quaternion

카메라 회전 값 계산.
Calculate camera rotation value.
Name Type Description
startPosition Cartesian3 시작 위치.
Strting position.
endPosition Cartesian3 종료 위치.
End position.
isReverse boolean 방향 반전.
Direction reversal.
Returns:
카메라 회전 값.
Camera rotation value.

calculateDroneRotation(startPosition, endPosition, isReverse)Quaternion

드론 회전 값 계산.
Calculate drone rotation value.
Name Type Description
startPosition Cartesian3 시작 위치.
Strting position.
endPosition Cartesian3 종료 위치.
End position.
isReverse boolean 방향 반전.
Direction reversal.
Returns:
드론 회전 값.
Drone rotation value.

clear()

결과물 초기화.
Result initialization.

async createShootingPlan(options)

수직스캔 촬영계획 생성.
Create a vertical scan shooting plan.
Name Type Description
options DroneSimulationVerticalScan.ConstructorOptions DroneSimulationVerticalScan 생성자의 초기화 옵션.
Initialization options for the DroneSimulationPhotoGrammetry constructor.

destroy()

인스턴스 제거.
Remove instance.

getStartPosition()DroneSimulationWaypoint|undefined

시작 웨이포인트 반환.
Return starting waypoint
Returns:
시작 웨이포인트.
Starting waypoint.

Type Definitions

Ditap.DroneSimulationVerticalScan.ConstructorOptions

DroneSimulationVerticalScan 생성자의 초기화 옵션.
Initialization options for the DroneSimulationVerticalScan constructor.
Properties:
Name Type Attributes Default Description
positions Array.<Cartesian3> <optional>
[] 수직스캔 영역 좌표.
Vertical scan area coordinates.
verticalSpacing number <optional>
10 수직 촬영 간격.
Vertical shooting interval.
horizontalSpacing number <optional>
10 수평 촬영 간격.
Horizontal shooting interval.
minimumHeight number <optional>
5 최소 높이.
Minimum heught.
maximumHeight number <optional>
50 최대 높이.
Maximum height.
clampToGround boolean <optional>
true 경로를 지면에 고정할지 여부.
Whether to anchor the path to the ground.
show boolean <optional>
true 수직스캔 엔티티 가시화 여부.
Whether vertical scan entities are visible.