define(["./defaultValue-abec0268","./Matrix3-ef89a1eb","./Matrix2-50a93848","./Transforms-ed424165","./ComponentDatatype-565a8190","./GeometryAttribute-ea1743e0","./GeometryAttributes-50483cde","./GeometryOffsetAttribute-82d57e99","./IndexDatatype-5f9fa3ed","./Math-a56d1479","./PolygonPipeline-69a6fcdb","./RectangleGeometryLibrary-f8d02ef2","./RuntimeError-279c39be","./combine-7a07cedd","./WebGLConstants-292d99ef","./EllipsoidRhumbLine-2c44e354"],(function(e,t,i,n,o,a,r,l,s,u,c,d,p,f,g,h){"use strict";const y=new n.BoundingSphere,m=new n.BoundingSphere,b=new t.Cartesian3,_=new i.Rectangle;function E(e,t){const i=e._ellipsoid,n=t.height,l=t.width,u=t.northCap,c=t.southCap;let p=n,f=2,g=0,h=4;u&&(f-=1,p-=1,g+=1,h-=2),c&&(f-=1,p-=1,g+=1,h-=2),g+=f*l+2*p-h;const y=new Float64Array(3*g);let m,_=0,E=0;const A=b;if(u)d.RectangleGeometryLibrary.computePosition(t,i,!1,E,0,A),y[_++]=A.x,y[_++]=A.y,y[_++]=A.z;else for(m=0;m=0;m--)d.RectangleGeometryLibrary.computePosition(t,i,!1,E,m,A),y[_++]=A.x,y[_++]=A.y,y[_++]=A.z;for(m=0,E=n-2;E>0;E--)d.RectangleGeometryLibrary.computePosition(t,i,!1,E,m,A),y[_++]=A.x,y[_++]=A.y,y[_++]=A.z;const G=y.length/3*2,R=s.IndexDatatype.createTypedArray(y.length/3,G);let P=0;for(let e=0;e