define(["./when-515d5295","./Rectangle-e170be8b","./arrayRemoveDuplicates-a4c6347e","./BoundingRectangle-409afd17","./buildModuleUrl-dba4ec07","./Cartesian2-1b9b0d8a","./Cartographic-1bbcab04","./ComponentDatatype-d430c7f7","./PolylineVolumeGeometryLibrary-ae5f3405","./Check-3aa71481","./GeometryAttribute-9bc31a7f","./GeometryAttributes-7d904f0f","./IndexDatatype-eefd5922","./Math-5e38123d","./PolygonPipeline-b8b35011","./PrimitiveType-b38a4004","./WindingOrder-8479ef05","./Intersect-53434a77","./Event-9821f5d9","./RuntimeError-350acae3","./WebGLConstants-77a84876","./Cartesian4-034d54d5","./EllipsoidTangentPlane-fd839d7b","./IntersectionTests-5fa33dbd","./Plane-92c15089","./PolylinePipeline-bf1462fc","./EllipsoidGeodesic-e5406761","./EllipsoidRhumbLine-f50fdea6","./FeatureDetection-7fae0d5a"],(function(e,n,t,i,r,a,o,s,p,l,c,d,u,h,y,f,g,v,_,b,m,P,k,w,E,T,L,D,C){"use strict";function G(t){var i=(t=e.e(t,e.e.EMPTY_OBJECT)).polylinePositions,r=t.shapePositions;if(!e.t(i))throw new l.t("options.polylinePositions is required.");if(!e.t(r))throw new l.t("options.shapePositions is required.");this._positions=i,this._shape=r,this._ellipsoid=n.n.clone(e.e(t.ellipsoid,n.n.WGS84)),this._cornerType=e.e(t.cornerType,p.O.ROUNDED),this._granularity=e.e(t.granularity,h.n.RADIANS_PER_DEGREE),this._workerName="createPolylineVolumeOutlineGeometry";var s=1+i.length*o.a.packedLength;s+=1+r.length*a.r.packedLength,this.packedLength=s+n.n.packedLength+2}G.pack=function(t,i,r){if(!e.t(t))throw new l.t("value is required");if(!e.t(i))throw new l.t("array is required");r=e.e(r,0);var s,p=t._positions,c=p.length;for(i[r++]=c,s=0;s