/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["require","exports","../../chunks/_rollupPluginBabelHelpers","../../core/maybe","../../core/promiseUtils","../Mesh","./meshUtils/georeference","./meshUtils/merge"],(function(e,r,n,t,o,i,l,u){"use strict";function s(e,r,n){return c.apply(this,arguments)}function c(){return(c=n._asyncToGenerator((function*(r,n,t){const i=yield new Promise(((r,n)=>e(["./meshUtils/elevation"],r,n)));return o.throwIfAborted(t),i.create(r,n,t)}))).apply(this,arguments)}function a(e,r){return f.apply(this,arguments)}function f(){return(f=n._asyncToGenerator((function*(r,n){yield r.load();return(yield new Promise(((r,n)=>e(["./meshUtils/elevationSampler"],r,n)))).create(r,n)}))).apply(this,arguments)}function m(e,r,n){return l.georeference(e,r,n)}function p(e,r,n){return l.ungeoreference(e,r,n)}function g(e){const r=u.merge(e);return t.isSome(r)?new i(r):null}r.createElevationSampler=a,r.createFromElevation=s,r.georeference=m,r.merge=g,r.ungeoreference=p,Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
