define(["./defaultValue-abec0268","./Matrix3-ef89a1eb","./ArcType-dbe7fddd","./arrayRemoveDuplicates-a4e37a99","./Transforms-ed424165","./Color-2bcd6104","./ComponentDatatype-565a8190","./GeometryAttribute-ea1743e0","./GeometryAttributes-50483cde","./IndexDatatype-5f9fa3ed","./Math-a56d1479","./PolylinePipeline-a9235141","./VertexFormat-d813e77b","./Matrix2-50a93848","./RuntimeError-279c39be","./combine-7a07cedd","./WebGLConstants-292d99ef","./EllipsoidGeodesic-e293d44a","./EllipsoidRhumbLine-2c44e354","./IntersectionTests-b9443f66","./Plane-47041f17"],(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=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