define(["./when-229515d6","./Matrix2-f0fc6cd3","./ArcType-e1641d8d","./GeometryOffsetAttribute-369d5efa","./Transforms-4a1d2c0e","./RuntimeError-8f3d96ee","./ComponentDatatype-5f63ec93","./EllipsoidTangentPlane-3f1b123a","./GeometryAttribute-4b6dfc85","./GeometryAttributes-b253752a","./GeometryInstance-28411208","./GeometryPipeline-c36432c1","./IndexDatatype-c2b69fc2","./PolygonGeometryLibrary-0cf237e6","./PolygonPipeline-583f5389","./combine-6d9c3903","./WebGLConstants-f63312fc","./AxisAlignedBoundingBox-0ebb51f1","./IntersectionTests-3a1d2826","./Plane-863ea815","./AttributeCompression-0ee09568","./EncodedCartesian3-55eee0ea","./arrayRemoveDuplicates-7cd4e18c","./EllipsoidRhumbLine-0893952b"],(function(e,t,i,r,o,n,a,s,l,y,u,p,d,c,f,g,m,h,b,P,E,A,_,G){"use strict";const L=[],T=[];function H(e,t,r,o,n){const p=s.EllipsoidTangentPlane.fromPoints(t,e).projectPointsOntoPlane(t,L);let g,m;f.PolygonPipeline.computeWindingOrder2D(p)===f.WindingOrder.CLOCKWISE&&(p.reverse(),t=t.slice().reverse());let h=t.length,b=0;if(o)for(g=new Float64Array(2*h*3),m=0;m