define(["./defaultValue-865ac579","./Matrix3-293ae7b3","./ArcType-68098157","./arrayRemoveDuplicates-398390b2","./Transforms-36e0c57f","./Color-e0f0f6b1","./ComponentDatatype-985dcc38","./GeometryAttribute-df0cc42c","./GeometryAttributes-75794475","./IndexDatatype-16f6b4a1","./Math-76ce6367","./PolylinePipeline-f20ae7c6","./VertexFormat-20b5279f","./Matrix2-7f5bbd54","./RuntimeError-9e0724f9","./combine-5e110d09","./WebGLConstants-258cf3a0","./EllipsoidGeodesic-2155b3b0","./EllipsoidRhumbLine-2feb918c","./IntersectionTests-3a8233fc","./Plane-a7f8aee2"],(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