GIS/CesiumJS1 [CesiumJS] Cartesian Cartographc 변환 CesiumJS에서는 Cartesian3와 Cartographic 두 가지 주요 클래스를 사용하여 3차원 좌표와 지리적 좌표를 나타냅니다. 이 두 클래스 사이의 변환은 다음과 같이 수행할 수 있습니다. Cartesian3에서 Cartographic으로 변환 Cartesian3 객체는 3차원 카르테시안 좌표 (X,Y,Z)를 나타냅니다. 이를 지리적 좌표 (경도,위도,높이)(경도,위도,높이)로 변환하려면 Cesium.Cartographic.fromCartesian 함수를 사용할 수 있습니다. var cartesian = new Cesium.Cartesian3(/* x, y, z */); var cartographic = Cesium.Cartographic.fromCartesian(cartesian); Car.. 2024. 1. 24. 이전 1 다음