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