define(["./when-e3a49219","./Matrix2-ae0e0b05","./ArcType-5c308c35","./arrayRemoveDuplicates-328bac4c","./Transforms-a6362ad2","./Color-341b20f8","./ComponentDatatype-64cf6611","./RuntimeError-ffc802eb","./GeometryAttribute-50aef525","./GeometryAttributes-3db3f2c9","./IndexDatatype-e12e2493","./PolylinePipeline-e16881a5","./VertexFormat-9bafa8ef","./PixelFormat-83d70a69","./WebGLConstants-1c8239cc","./combine-c7a1ec8a","./EllipsoidGeodesic-524df442","./EllipsoidRhumbLine-b6518e5c","./IntersectionTests-8be403d7","./Plane-2bf1bb80"],(function(e,t,r,a,o,n,i,l,s,p,c,d,u,y,m,f,h,v,C,g){"use strict";var _=[];function b(e,t,r,a,o){var i,l=_;l.length=o;var s=r.red,p=r.green,c=r.blue,d=r.alpha,u=a.red,y=a.green,m=a.blue,f=a.alpha;if(n.Color.equals(r,a)){for(i=0;i0?new Array(l):void 0;for(i=0;i0){var V=0,F=P[0];v=v.filter((function(e,t){return!(C?t===F||0===t&&1===F:t+1===F)||(V++,F=P[V],!1)}))}var L=w.length;if(!(L<2||f<=0)){if(g===r.ArcType.GEODESIC||g===r.ArcType.RHUMB){var G,O;g===r.ArcType.GEODESIC?(G=i.CesiumMath.chordLength(A,E.maximumRadius),O=d.PolylinePipeline.numberOfPoints):(G=A,O=d.PolylinePipeline.numberOfPointsRhumbLine);var R=d.PolylinePipeline.extractHeights(w,E);if(e.defined(v)){var I=1;for(u=0;u