Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
아래 속성 포함 객체.Object with the following properties:
|
Example:
const viewer = new DitapViewer("ditapContainer");
// 1. 지정된 점들로 선분 및 각도 생성.
const positions = [
new Cartesian3(-3044793.45215, 4043760.15101, 3867436.51189),
new Cartesian3(-3044900.12345, 4043800.67890, 3867500.65432)
];
const options = {
viewer: viewer,
positions: positions,
entityColor: Color.fromBytes(252, 76, 2, 255),
};
const measurementAngle = new MeasurementAngle(options);
const measurementAngle = new Ditap.MeasurementAngle({
viewer: viewer,
});
const interactionAngle = new Ditap.InteractionAngle();
interactionAngle.measurementAngle = measurementAngle;
Members
viewer : DitapViewer
사용할 DitapViewer 인스턴스.
Methods
인스턴스 파괴. 영구적으로 제거하는 경우 호출.
Destroys the instance. Should be called if permanently removing the instance from layout.