define(["./when-4bbc8319","./Matrix2-ccd5b911","./GeometryOffsetAttribute-1772960d","./Transforms-d5c6ad6e","./ComponentDatatype-93750d1a","./RuntimeError-346a3079","./GeometryAttribute-c30799b8","./GeometryAttributes-7827a6c2","./IndexDatatype-b7d979a6","./PolygonPipeline-83fb62b0","./RectangleGeometryLibrary-48d34d36","./combine-83860057","./WebGLConstants-1c8239cc","./EllipsoidRhumbLine-aa9e6266"],function(c,s,p,d,b,e,_,v,E,g,A,t,i,a){"use strict";var f=new d.BoundingSphere,h=new d.BoundingSphere,G=new s.Cartesian3,y=new s.Rectangle;function m(e,t){var i=e._ellipsoid,a=t.height,r=t.width,n=t.northCap,o=t.southCap,l=a,u=2,s=0,e=4;n&&(--u,--l,s+=1,e-=2),o&&(--u,--l,s+=1,e-=2),s+=u*r+2*l-e;var c,p=new Float64Array(3*s),d=0,g=0,f=G;if(n)A.RectangleGeometryLibrary.computePosition(t,i,!1,g,0,f),p[d++]=f.x,p[d++]=f.y,p[d++]=f.z;else for(c=0;c