define(["./defaultValue-69ee94f4","./Matrix2-52f9f880","./ArcType-e1641d8d","./arrayRemoveDuplicates-fe254feb","./Transforms-3e1dc9c2","./Color-6b5fa738","./ComponentDatatype-a9820060","./RuntimeError-ac440aa5","./GeometryAttribute-c774c37f","./GeometryAttributes-1b4134a9","./IndexDatatype-1cbc8622","./PolylinePipeline-96d5682f","./VertexFormat-e68722dd","./PixelFormat-9ceadbf3","./WebGLConstants-f63312fc","./_commonjsHelpers-3aae1032-15991586","./combine-0259f56f","./EllipsoidGeodesic-00b2a9dd","./EllipsoidRhumbLine-683f2cb5","./IntersectionTests-088640d2","./Plane-e5b2f6e0"],(function(e,t,o,r,n,a,i,l,s,c,p,d,u,y,m,f,h,C,g,_,A){"use strict";const E=[];function P(e,t,o,r,n){const i=E;let l;i.length=n;const s=o.red,c=o.green,p=o.blue,d=o.alpha,u=r.red,y=r.green,m=r.blue,f=r.alpha;if(a.Color.equals(o,r)){for(l=0;l0?new Array(l):void 0;for(i=0;i0){let e=0,t=x[0];m=m.filter((function(o,r){let n=!1;return n=f?r===t||0===r&&1===t:r+1===t,!n||(e++,t=x[e],!1)}))}let T=w.length;if(T<2||u<=0)return;if(h===o.ArcType.GEODESIC||h===o.ArcType.RHUMB){let t,r;h===o.ArcType.GEODESIC?(t=i.CesiumMath.chordLength(C,g.maximumRadius),r=d.PolylinePipeline.numberOfPoints):(t=C,r=d.PolylinePipeline.numberOfPointsRhumbLine);const n=d.PolylinePipeline.extractHeights(w,g);if(e.defined(m)){let e=1;for(_=0;_