define(["./when-cbf8cd21","./Check-35e1a91d","./Math-e66fad2a","./Rectangle-53325d53","./WebGLConstants-95ceb4e9","./PixelFormat-d198afce","./Transforms-00c25a19","./RuntimeError-f4c64df1","./ComponentDatatype-7ee14e67","./GeometryAttribute-0b3418e6","./GeometryAttributes-90846c5f","./IndexDatatype-66caba23","./IntersectionTests-fdc68d04","./Plane-353c5ea0","./ArcType-2b58731c","./EllipsoidRhumbLine-59f604d0","./EllipsoidGeodesic-f0048131","./PolylinePipeline-2c8508bb","./Color-cae0b4c9"],function(R,e,S,I,o,t,O,r,M,U,N,F,a,l,H,i,n,W,Y){"use strict";function d(e){var o=(e=R.defaultValue(e,R.defaultValue.EMPTY_OBJECT)).positions,t=e.colors,r=R.defaultValue(e.colorsPerVertex,!1);this._positions=o,this._colors=t,this._colorsPerVertex=r,this._arcType=R.defaultValue(e.arcType,H.ArcType.GEODESIC),this._granularity=R.defaultValue(e.granularity,S.CesiumMath.RADIANS_PER_DEGREE),this._ellipsoid=R.defaultValue(e.ellipsoid,I.Ellipsoid.WGS84),this._workerName="createSimplePolylineGeometry";var a=1+o.length*I.Cartesian3.packedLength;a+=R.defined(t)?1+t.length*Y.Color.packedLength:1,this.packedLength=a+I.Ellipsoid.packedLength+3}d.pack=function(e,o,t){var r;t=R.defaultValue(t,0);var a=e._positions,l=a.length;for(o[t++]=l,r=0;r