define(["exports","./ArcType-fc72c06c","./GeometryOffsetAttribute-ed56ff58","./BoundingSphere-9a3b5656","./Check-741c5f3c","./ComponentDatatype-aaeec80f","./defaultValue-81eec7ed","./Cartesian2-bd414876","./EllipsoidTangentPlane-4d138901","./GeometryAttribute-2b42a913","./GeometryAttributes-32b29525","./GeometryInstance-1b39c9e8","./GeometryPipeline-e7083fea","./IndexDatatype-3f3c99e8","./Math-e73894ab","./PolygonGeometryLibrary-231711c2","./PolygonPipeline-04baeb41"],(function(e,t,i,o,r,n,a,l,s,y,u,p,c,d,g,f,h){"use strict";const m=[],b=[];function P(e,i,o,r,a){const l=s.EllipsoidTangentPlane.fromPoints(i,e).projectPointsOntoPlane(i,m);let c,g;h.PolygonPipeline.computeWindingOrder2D(l)===h.WindingOrder.CLOCKWISE&&(l.reverse(),i=i.slice().reverse());let P=i.length,A=0;if(r)for(c=new Float64Array(2*P*3),g=0;g