define(["./defaultValue-81eec7ed","./Cartesian2-bd414876","./Rectangle-cf3e0e3e","./GeometryOffsetAttribute-ed56ff58","./BoundingSphere-9a3b5656","./Cartesian3-e0307675","./ComponentDatatype-aaeec80f","./Check-741c5f3c","./GeometryAttribute-2b42a913","./GeometryAttributes-32b29525","./IndexDatatype-3f3c99e8","./Math-e73894ab","./PolygonPipeline-04baeb41","./RectangleGeometryLibrary-5373dad7","./GeographicProjection-c931c7fb","./Matrix4-4c545f70","./RuntimeError-26acdd3b","./WebGLConstants-508b9636","./Matrix2-dc0c61cc","./Transforms-5b829630","./when-422ea0ae","./Resource-8ae1a924","./combine-3c023bda","./EllipsoidRhumbLine-592e8885"],(function(e,t,i,n,o,a,r,l,s,u,c,p,d,f,g,h,y,b,m,_,E,A,G,R){"use strict";const P=new o.BoundingSphere,w=new o.BoundingSphere,C=new a.Cartesian3,L=new i.Rectangle;function v(e,t){const i=e._ellipsoid,n=t.height,o=t.width,a=t.northCap,l=t.southCap;let p=n,d=2,g=0,h=4;a&&(d-=1,p-=1,g+=1,h-=2),l&&(d-=1,p-=1,g+=1,h-=2),g+=d*o+2*p-h;const y=new Float64Array(3*g);let b,m=0,_=0;const E=C;if(a)f.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--)f.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;_--)f.RectangleGeometryLibrary.computePosition(t,i,!1,_,b,E),y[m++]=E.x,y[m++]=E.y,y[m++]=E.z;const A=y.length/3*2,G=c.IndexDatatype.createTypedArray(y.length/3,A);let R=0;for(let e=0;e