define(["./when-7b580518","./Cartesian2-40b13f31","./ArcType-1da7fdca","./Transforms-a7d32f6c","./Color-55a64d9e","./ComponentDatatype-6c2e43c1","./Check-3917d765","./GeometryAttribute-8f00b923","./GeometryAttributes-fbd9a3fb","./IndexDatatype-b42089ce","./Math-87254c13","./PolylinePipeline-ce297e94","./combine-83aa7971","./RuntimeError-fad4d3c6","./WebGLConstants-4e26b85a","./EllipsoidGeodesic-bdbae7c8","./EllipsoidRhumbLine-6baec512","./IntersectionTests-2dece3b4","./Plane-69fa3eea"],function(L,V,x,S,I,R,e,O,M,U,N,F,o,t,r,a,l,i,n){"use strict";function c(e){var o=(e=L.defaultValue(e,L.defaultValue.EMPTY_OBJECT)).positions,t=e.colors,r=L.defaultValue(e.colorsPerVertex,!1);this._positions=o,this._colors=t,this._colorsPerVertex=r,this._arcType=L.defaultValue(e.arcType,x.ArcType.GEODESIC),this._granularity=L.defaultValue(e.granularity,N.CesiumMath.RADIANS_PER_DEGREE),this._ellipsoid=L.defaultValue(e.ellipsoid,V.Ellipsoid.WGS84),this._workerName="createSimplePolylineGeometry";o=1+o.length*V.Cartesian3.packedLength;o+=L.defined(t)?1+t.length*I.Color.packedLength:1,this.packedLength=o+V.Ellipsoid.packedLength+3}c.pack=function(e,o,t){var r;t=L.defaultValue(t,0);var a=e._positions,l=a.length;for(o[t++]=l,r=0;r