define(["./when-e3a49219","./Matrix2-ae0e0b05","./GeometryOffsetAttribute-9dbaeacc","./Transforms-a6362ad2","./ComponentDatatype-64cf6611","./RuntimeError-ffc802eb","./GeometryAttribute-50aef525","./GeometryAttributes-3db3f2c9","./IndexDatatype-e12e2493","./PolygonPipeline-2bbe6eb1","./RectangleGeometryLibrary-ac1dd89b","./PixelFormat-83d70a69","./WebGLConstants-1c8239cc","./combine-c7a1ec8a","./EllipsoidRhumbLine-b6518e5c"],(function(e,t,i,a,r,n,o,l,u,s,c,p,d,f,g){"use strict";var h=new a.BoundingSphere,y=new a.BoundingSphere,m=new t.Cartesian3,b=new t.Rectangle;function _(e,t){var i=e._ellipsoid,a=t.height,n=t.width,s=t.northCap,p=t.southCap,d=a,f=2,g=0,h=4;s&&(f-=1,d-=1,g+=1,h-=2),p&&(f-=1,d-=1,g+=1,h-=2),g+=f*n+2*d-h;var y,b=new Float64Array(3*g),_=0,v=0,E=m;if(s)c.RectangleGeometryLibrary.computePosition(t,i,!1,v,0,E),b[_++]=E.x,b[_++]=E.y,b[_++]=E.z;else for(y=0;y=0;y--)c.RectangleGeometryLibrary.computePosition(t,i,!1,v,y,E),b[_++]=E.x,b[_++]=E.y,b[_++]=E.z;for(y=0,v=a-2;v>0;v--)c.RectangleGeometryLibrary.computePosition(t,i,!1,v,y,E),b[_++]=E.x,b[_++]=E.y,b[_++]=E.z;for(var A=b.length/3*2,G=u.IndexDatatype.createTypedArray(b.length/3,A),R=0,P=0;P