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","./GeometryPipeline-137aa28e","./IndexDatatype-eefd5922","./Math-5e38123d","./PolygonPipeline-b8b35011","./PrimitiveType-b38a4004","./VertexFormat-e844760b","./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","./AttributeCompression-f9ee669b","./EncodedCartesian3-d74c1b81"],(function(e,t,n,a,r,o,i,s,p,l,c,d,u,h,y,g,m,f,v,b,_,P,k,L,w,C,E,T,A,D,F,R,G){"use strict";function x(n){var a=(n=e.e(n,e.e.EMPTY_OBJECT)).polylinePositions,r=n.shapePositions;if(!e.t(a))throw new l.t("options.polylinePositions is required.");if(!e.t(r))throw new l.t("options.shapePositions is required.");this._positions=a,this._shape=r,this._ellipsoid=t.n.clone(e.e(n.ellipsoid,t.n.WGS84)),this._cornerType=e.e(n.cornerType,p.O.ROUNDED),this._vertexFormat=f.n.clone(e.e(n.vertexFormat,f.n.DEFAULT)),this._granularity=e.e(n.granularity,y.n.RADIANS_PER_DEGREE),this._workerName="createPolylineVolumeGeometry",this.enuCenter=e.e(n.enuCenter,i.a.ZERO);var s=1+a.length*i.a.packedLength;s+=1+r.length*o.r.packedLength+i.a.packedLength,this.packedLength=s+t.n.packedLength+f.n.packedLength+2}x.pack=function(n,a,r){if(!e.t(n))throw new l.t("value is required");if(!e.t(a))throw new l.t("array is required");r=e.e(r,0);var s,p=n._positions,c=p.length;for(a[r++]=c,s=0;s