define(["./defaultValue-abec0268","./Matrix3-2b60b40d","./ArcType-dbe7fddd","./arrayRemoveDuplicates-a4e37a99","./Transforms-98e4fe15","./Color-f7930c1b","./ComponentDatatype-565a8190","./GeometryAttribute-2634d326","./GeometryAttributes-50483cde","./IndexDatatype-5f9fa3ed","./Math-a56d1479","./PolylinePipeline-7675bf7d","./VertexFormat-d813e77b","./Matrix2-9599853a","./RuntimeError-279c39be","./combine-7a07cedd","./WebGLConstants-292d99ef","./EllipsoidGeodesic-53f26b06","./EllipsoidRhumbLine-a3c0be77","./IntersectionTests-51d114e6","./Plane-1c708c34"],(function(e,t,o,r,n,a,i,l,s,c,p,d,u,y,m,f,h,C,g,_,A){"use strict";const b=[];function E(e,t,o,r,n){const i=b;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=w[0];f=f.filter((function(o,r){let n=!1;return n=h?r===t||0===r&&1===t:r+1===t,!n||(e++,t=w[e],!1)}))}let L=T.length;if(L<2||y<=0)return;if(C===o.ArcType.GEODESIC||C===o.ArcType.RHUMB){let t,r;C===o.ArcType.GEODESIC?(t=p.CesiumMath.chordLength(g,_.maximumRadius),r=d.PolylinePipeline.numberOfPoints):(t=g,r=d.PolylinePipeline.numberOfPointsRhumbLine);const n=d.PolylinePipeline.extractHeights(T,_);if(e.defined(f)){let e=1;for(A=0;A