/** * SmartEarth WebSDK - https://websdk.terra-it.cn * Version 5.3.1 */ import{a as _}from"./chunk-5B7R4ODL.js";import{a as M}from"./chunk-EPQZOCRV.js";import{b as G}from"./chunk-BUR4N7VJ.js";import{a as b}from"./chunk-33CJ2NM7.js";import{b as R}from"./chunk-BHJLM5NY.js";import{b as a,c as L,e as z}from"./chunk-7DK7KB7Q.js";import{a as E}from"./chunk-JSZDCKFG.js";import{a as C}from"./chunk-5HWP5DW7.js";import{a as I}from"./chunk-INT7THOB.js";import{e as T}from"./chunk-PPCZYYBW.js";var p={};p.numberOfPoints=function(r,n,o){let e=a.distance(r,n);return Math.ceil(e/o)};p.numberOfPointsRhumbLine=function(r,n,o){let e=Math.pow(r.longitude-n.longitude,2)+Math.pow(r.latitude-n.latitude,2);return Math.max(1,Math.ceil(Math.sqrt(e/(o*o))))};var V=new L;p.extractHeights=function(r,n){let o=r.length,e=new Array(o);for(let t=0;t0){n=C(n,R.IDENTITY);let t=R.inverseTransformation(n,Y),l=R.multiplyByPoint(t,a.ZERO,F),u=a.normalize(R.multiplyByPointAsVector(t,a.UNIT_Y,v),v),d=b.fromPointNormal(l,u,j),i=a.normalize(R.multiplyByPointAsVector(t,a.UNIT_X,H),H),w=b.fromPointNormal(l,i,J),h=1;o.push(a.clone(r[0]));let f=o[0],y=r.length;for(let g=1;g