define(["./defaultValue-69ee94f4","./Matrix2-52f9f880","./ArcType-e1641d8d","./GeometryOffsetAttribute-4d39b441","./Transforms-3e1dc9c2","./RuntimeError-ac440aa5","./ComponentDatatype-a9820060","./EllipsoidTangentPlane-6299303d","./GeometryAttribute-c774c37f","./GeometryAttributes-1b4134a9","./GeometryInstance-90cd14f9","./GeometryPipeline-ccff615d","./IndexDatatype-1cbc8622","./PolygonGeometryLibrary-fcf4ee2d","./PolygonPipeline-c00ad6b5","./PixelFormat-9ceadbf3","./WebGLConstants-f63312fc","./_commonjsHelpers-3aae1032-15991586","./combine-0259f56f","./AxisAlignedBoundingBox-be6909d8","./IntersectionTests-088640d2","./Plane-e5b2f6e0","./AttributeCompression-5e4af6de","./EncodedCartesian3-8ce94cd2","./arrayRemoveDuplicates-fe254feb","./EllipsoidRhumbLine-683f2cb5"],(function(e,t,i,o,r,n,a,l,s,y,u,p,d,c,f,g,m,h,b,P,E,A,_,G,L,H){"use strict";const T=[],v=[];function x(e,t,o,r,n){const p=l.EllipsoidTangentPlane.fromPoints(t,e).projectPointsOntoPlane(t,T);let g,m;f.PolygonPipeline.computeWindingOrder2D(p)===f.WindingOrder.CLOCKWISE&&(p.reverse(),t=t.slice().reverse());let h=t.length,b=0;if(r)for(g=new Float64Array(2*h*3),m=0;m