/** * SmartEarth WebSDK - https://websdk.terra-it.cn * Version 5.4.1 */ import{a as Dt,b as Gt}from"./chunk-4EL7BMG6.js";import{a as Lt}from"./chunk-QP6U3SEH.js";import{a as lt}from"./chunk-JOO5BKHH.js";import{a as qt}from"./chunk-NSQWYX5W.js";import"./chunk-7635WVJB.js";import"./chunk-FVZBCGC7.js";import{a as kt}from"./chunk-PVXELJ4I.js";import"./chunk-5HPENZ6M.js";import"./chunk-SY6XZLBE.js";import{d as zt}from"./chunk-CLGTNV2A.js";import{b as $,g as Ot,h as Vt}from"./chunk-RQCJJCAO.js";import"./chunk-7J4RJR4J.js";import{b as P,c as N,d as wt,e as Ut}from"./chunk-UMC5CP2H.js";import{a as r}from"./chunk-72V3KRTJ.js";import"./chunk-7M2TDEJ6.js";import{a as Ht}from"./chunk-W5CDIT4C.js";import"./chunk-VJ26MOOM.js";import{e as ht}from"./chunk-E3YQ3WWZ.js";var $t=Uint16Array.BYTES_PER_ELEMENT,mt=Int32Array.BYTES_PER_ELEMENT,Pt=Uint32Array.BYTES_PER_ELEMENT,te=Float32Array.BYTES_PER_ELEMENT,H=Float64Array.BYTES_PER_ELEMENT;function tt(n,l,e){e=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 jt=zt.fromPoints(g),Rt;ht(i)&&(Rt=qt.fromRectangle(i,z,J,e));let Qt=new Dt(e).computeHorizonCullingPointPossiblyUnderEllipsoid(l,g,z),Jt=new kt(b,M,l),It=new Gt(l,Jt,K.hMin,J,O,!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 V=m.minimum,Q=m.maximum;P.minimumByComponent(G,V,V),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 we=Lt(ee);export{we as default};