define(["./when-92c6cf3c","./Rectangle-bab7abf0","./arrayRemoveDuplicates-f7eaafa2","./BoundingRectangle-418864a2","./buildModuleUrl-3d15f25c","./Cartesian2-6033fa5d","./Cartographic-67e73ef9","./ComponentDatatype-81047f82","./PolylineVolumeGeometryLibrary-9a645937","./Check-52a7d806","./GeometryAttribute-ef657318","./GeometryAttributes-7f66ea53","./GeometryPipeline-f4eddf07","./IndexDatatype-4c0e98b8","./Math-92c3b5f7","./PolygonPipeline-b86e8785","./PrimitiveType-cdfe443e","./VertexFormat-f496a3f1","./WindingOrder-1b9c8a87","./Intersect-b97e930a","./Event-3390cd7d","./RuntimeError-c6a62a80","./WebGLConstants-71f10989","./Cartesian4-ad128b5d","./EllipsoidTangentPlane-53184efd","./IntersectionTests-a42760d9","./Plane-f8d22530","./PolylinePipeline-c0932bf7","./EllipsoidGeodesic-04ac0e77","./EllipsoidRhumbLine-8847d1a1","./FeatureDetection-067cb23c","./AttributeCompression-49f7b62a","./EncodedCartesian3-b86c8d65"],(function(e,t,n,o,a,i,r,s,p,c,l,u,d,h,y,g,f,m,v,b,k,_,P,L,w,C,E,A,D,T,F,R,G){"use strict";function x(n){var o=(n=e.u(n,e.u.EMPTY_OBJECT)).polylinePositions,a=n.shapePositions;if(!e.e(o))throw new c.t("options.polylinePositions is required.");if(!e.e(a))throw new c.t("options.shapePositions is required.");this._positions=o,this._shape=a,this._ellipsoid=t.t.clone(e.u(n.ellipsoid,t.t.WGS84)),this._cornerType=e.u(n.cornerType,p.S.ROUNDED),this._vertexFormat=m.n.clone(e.u(n.vertexFormat,m.n.DEFAULT)),this._granularity=e.u(n.granularity,y.e.RADIANS_PER_DEGREE),this._workerName="createPolylineVolumeGeometry",this.enuCenter=e.u(n.enuCenter,r.t.ZERO);var s=1+o.length*r.t.packedLength;s+=1+a.length*i.o.packedLength+r.t.packedLength,this.packedLength=s+t.t.packedLength+m.n.packedLength+2}x.pack=function(n,o,a){if(!e.e(n))throw new c.t("value is required");if(!e.e(o))throw new c.t("array is required");a=e.u(a,0);var s,p=n._positions,l=p.length;for(o[a++]=l,s=0;s