define(["./when-54335d57","./Rectangle-82621db8","./GeometryOffsetAttribute-718fa138","./Transforms-b51fdb37","./ComponentDatatype-1a100acd","./Check-24483042","./GeometryAttribute-02fdce7a","./GeometryAttributes-caa08d6c","./IndexDatatype-edb2f4d6","./Math-7a8129d6","./PolygonPipeline-be37706f","./RectangleGeometryLibrary-3593e470","./PixelFormat-d198afce","./WebGLConstants-95ceb4e9","./RuntimeError-88a32665","./EllipsoidRhumbLine-2550c0e1"],function(h,d,y,m,E,e,A,G,R,b,P,w,t,i,a,r){"use strict";var _=new m.BoundingSphere,v=new m.BoundingSphere,L=new d.Cartesian3,C=new d.Rectangle;function x(e,t){var i=e._ellipsoid,a=t.height,r=t.width,n=t.northCap,o=t.southCap,l=a,u=2,s=0,d=4;n&&(u-=1,l-=1,s+=1,d-=2),o&&(u-=1,l-=1,s+=1,d-=2),s+=u*r+2*l-d;var p,c=new Float64Array(3*s),f=0,g=0,h=L;if(n)w.RectangleGeometryLibrary.computePosition(t,i,!1,g,0,h),c[f++]=h.x,c[f++]=h.y,c[f++]=h.z;else for(p=0;p