/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{createVolume as t,toUnit as o}from"../../../../core/quantity.js";import{adaptiveVolumeUnit as u}from"../../../../core/units.js";function e(o,u,e="cubic-meters"){const n=o-u,r=o+u;return{cutVolume:t(o,e),fillVolume:t(u,e),netVolume:t(n,e),totalVolume:t(r,e)}}function n(t,e){return t?o(t,u(t.value,t.unit,e)):null}export{e as getRawResult,n as toPreferredVolumeUnit};
