define(["./defaultValue-81eec7ed","./Matrix2-e3fb4559","./GeometryOffsetAttribute-ed56ff58","./Transforms-98ffa11d","./Cartesian3-7e9cc2ff","./ComponentDatatype-aaeec80f","./Check-741c5f3c","./GeometryAttribute-b025f9a8","./GeometryAttributes-32b29525","./IndexDatatype-f1e3f799","./Math-5f585871","./PolygonPipeline-6f83d8b1","./RectangleGeometryLibrary-193b0cdb","./Matrix4-d34187af","./RuntimeError-26acdd3b","./_commonjsHelpers-3aae1032-26891ab7","./combine-3c023bda","./WebGLConstants-508b9636","./EllipsoidRhumbLine-9c6b32ea"],(function(e,t,i,n,o,a,r,l,s,u,c,p,d,f,g,h,y,b,m){"use strict";const _=new n.BoundingSphere,E=new n.BoundingSphere,A=new o.Cartesian3,G=new t.Rectangle;function R(e,t){const i=e._ellipsoid,n=t.height,o=t.width,r=t.northCap,c=t.southCap;let p=n,f=2,g=0,h=4;r&&(f-=1,p-=1,g+=1,h-=2),c&&(f-=1,p-=1,g+=1,h-=2),g+=f*o+2*p-h;const y=new Float64Array(3*g);let b,m=0,_=0;const E=A;if(r)d.RectangleGeometryLibrary.computePosition(t,i,!1,_,0,E),y[m++]=E.x,y[m++]=E.y,y[m++]=E.z;else for(b=0;b=0;b--)d.RectangleGeometryLibrary.computePosition(t,i,!1,_,b,E),y[m++]=E.x,y[m++]=E.y,y[m++]=E.z;for(b=0,_=n-2;_>0;_--)d.RectangleGeometryLibrary.computePosition(t,i,!1,_,b,E),y[m++]=E.x,y[m++]=E.y,y[m++]=E.z;const G=y.length/3*2,R=u.IndexDatatype.createTypedArray(y.length/3,G);let P=0;for(let e=0;e