/** * SmartEarth WebSDK - https://websdk.terra-it.cn * Version 5.3.1 */ import{a as Gt,b as Xt}from"./chunk-FNJ2A2P5.js";import{a as kt}from"./chunk-6MN6BBPN.js";import{a as lt}from"./chunk-NJVIDNJ6.js";import{a as Dt}from"./chunk-W5L3OOEF.js";import"./chunk-EZRSLM27.js";import"./chunk-TBSK33NR.js";import{a as qt}from"./chunk-LSAUAD4X.js";import"./chunk-AIYLFSI3.js";import"./chunk-FBQDLPON.js";import{d as Lt}from"./chunk-ZPW6H6BB.js";import{b as $,g as Ot,i as zt}from"./chunk-HMXXHGCW.js";import"./chunk-NFDMGE7Q.js";import{b as P,c as N,d as wt,e as Ht}from"./chunk-VDZXURWO.js";import{a as r}from"./chunk-UEFEFMYS.js";import"./chunk-YGIPMXAD.js";import{a as Vt}from"./chunk-PZ34T7DL.js";import{a as Ut}from"./chunk-5HWP5DW7.js";import"./chunk-3K67FZLU.js";import{e as ht}from"./chunk-55TU6MJR.js";var te=Uint16Array.BYTES_PER_ELEMENT,mt=Int32Array.BYTES_PER_ELEMENT,Pt=Uint32Array.BYTES_PER_ELEMENT,ee=Float32Array.BYTES_PER_ELEMENT,H=Float64Array.BYTES_PER_ELEMENT;function tt(n,l,e){e=Ut(e,r);let i=n.length;for(let c=0;c0&&W.length>0){let t=k[0].index,d=Mt,Y=W[W.length-1].index,B=g.length-1;v.push(Y,B,d,d,t,Y)}S=g.length;let Qt=Lt.fromPoints(g),Rt;ht(i)&&(Rt=Dt.fromRectangle(i,z,J,e));let Jt=new Gt(e).computeHorizonCullingPointPossiblyUnderEllipsoid(l,g,z),Kt=new qt(b,M,l),It=new Xt(l,Kt,K.hMin,J,V,!1,T,y,et,m),_t=new Float32Array(S*It.stride),Ct=0;for(let t=0;t0&&i.push(i[x]),c.length>0&&c.push(c[x]),$.multiplyByPoint(m.toENU,j,G);let O=m.minimum,Q=m.maximum;P.minimumByComponent(G,O,O),P.maximumByComponent(G,Q,Q);let ft=m.lastBorderPoint;if(ht(ft)){let y=ft.index;et.push(y,p-1,p,p,x,y)}m.lastBorderPoint=E}}var Ae=kt(oe);export{Ae as default};