UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

6 lines (5 loc) 793 B
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified. See https://js.arcgis.com/4.33/esri/copyright.txt for details. */ import{supportsCurves as e,execute as r,executeMany as t,isSimpleAsFeature as o}from"../geometry/operators/gx/operatorSimplify.js";import{getSpatialReference as s,toGeometry as a,fromSpatialReference as p,fromGeometry as n}from"../geometry/operators/support/apiConverter.js";function u(e){const t=s(e);return a(r(n(e),p(t),!1),t)}function i(e){const r=e.map(n),o=s(e);return t(r,p(o),!1).map((e=>a(e,o)))}function c(e){return o(n(e),p(s(e)),!1)}const m=e(),f=Object.freeze(Object.defineProperty({__proto__:null,execute:u,executeMany:i,isSimple:c,supportsCurves:m},Symbol.toStringTag,{value:"Module"}));export{i as a,m as b,u as e,c as i,f as s};