/** * @license * Cesium - https://github.com/CesiumGS/cesium * Version 1.114 * * Copyright 2011-2022 Cesium Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * Columbus View (Pat. Pend.) * * Portions licensed separately. * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details. */ import{a as C}from"./chunk-HHRYRQXU.js";import{a as v}from"./chunk-H3IXAINZ.js";import{b as z}from"./chunk-VELFSPBY.js";import"./chunk-7UQWW73Z.js";import{a as O}from"./chunk-Y3QWB4WF.js";import{a as Y}from"./chunk-KJJSAVM5.js";import{b as B,c as q,d as y}from"./chunk-32QBF3VP.js";import{d as R}from"./chunk-VUQ65SO2.js";import"./chunk-XHQXTKN5.js";import{c as b}from"./chunk-CAREXCTE.js";import{a as T}from"./chunk-PF7ABWYW.js";import{a as U,b as M,d as w}from"./chunk-6A72MMRO.js";import{a as P}from"./chunk-4BEFMW7D.js";import"./chunk-UMJEX7YU.js";import"./chunk-72JWF3LF.js";import{a as E}from"./chunk-2F4MHS2T.js";import{a as N}from"./chunk-3Z2AZRQC.js";import{e as S}from"./chunk-A5XXOFX2.js";var W=new R,j=new R,K=new U,Q=new b;function F(t,e){let i=t._ellipsoid,m=e.height,s=e.width,h=e.northCap,p=e.southCap,_=m,A=2,o=0,g=4;h&&(A-=1,_-=1,o+=1,g-=2),p&&(A-=1,_-=1,o+=1,g-=2),o+=A*s+2*_-g;let n=new Float64Array(o*3),l=0,f=0,a,r=K;if(h)C.computePosition(e,i,!1,f,0,r),n[l++]=r.x,n[l++]=r.y,n[l++]=r.z;else for(a=0;a=0;a--)C.computePosition(e,i,!1,f,a,r),n[l++]=r.x,n[l++]=r.y,n[l++]=r.z;for(a=0,f=m-2;f>0;f--)C.computePosition(e,i,!1,f,a,r),n[l++]=r.x,n[l++]=r.y,n[l++]=r.z;let u=n.length/3*2,c=O.createTypedArray(n.length/3,u),H=0;for(let D=0;D