/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{execute as e,executeMany as t,isSimple as r}from"../gx/operatorSimplifyOGC.js";import{fromGeometry as n,toGeometry as o,fromGeometries as i}from"../support/jsonConverter.js";function p(t){const r=n(t),i=r.getSpatialReference();return o(e(r.getGeometry(),i,!1),i)}function s(e){const[r,n]=i(e);return t(r,n,!1).map(e=>o(e,n))}function a(e){const t=n(e);return r(t.getGeometry(),t.getSpatialReference(),!1,null)}export{p as execute,s as executeMany,a as isSimple};
