define(["./when-4bbc8319","./Matrix2-9aa31791","./ArcType-98ec98bf","./arrayRemoveDuplicates-18786327","./Transforms-d13cc04e","./Color-1ab5c5c7","./ComponentDatatype-93750d1a","./RuntimeError-346a3079","./GeometryAttribute-43536dc0","./GeometryAttributes-7827a6c2","./IndexDatatype-b7d979a6","./PolylinePipeline-64021a2e","./VertexFormat-71718faa","./combine-83860057","./WebGLConstants-1c8239cc","./EllipsoidGeodesic-dd8f2afb","./EllipsoidRhumbLine-30c47ff4","./IntersectionTests-96a04219","./Plane-318d6937"],(function(e,t,r,a,o,n,i,l,s,p,c,d,u,y,m,f,h,v,C){"use strict";var g=[];function _(e,t,r,a,o){var i,l=g;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,L=b[0];v=v.filter((function(e,t){return!(C?t===L||0===t&&1===L:t+1===L)||(V++,L=b[V],!1)}))}var F=k.length;if(!(F<2||f<=0)){if(A===r.ArcType.GEODESIC||A===r.ArcType.RHUMB){var G,O;A===r.ArcType.GEODESIC?(G=i.CesiumMath.chordLength(E,P.maximumRadius),O=d.PolylinePipeline.numberOfPoints):(G=E,O=d.PolylinePipeline.numberOfPointsRhumbLine);var R=d.PolylinePipeline.extractHeights(k,P);if(e.defined(v)){var I=1;for(u=0;u