/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{getMetersPerVerticalUnitForSR as t,getMetersPerUnitForSR as n}from"../../core/units.js";function r(t,n){if(t[0]!==n[0]||t[1]!==n[1])return!1;const r=Math.max(t.length,n.length);if(r<3)return!0;for(let u=2;u<r;u++)if((t.at(u)??0)!==(n.at(u)??0))return!1;return!0}function u(r){if(r.vcsWkid||r.latestVcsWkid){return t(r)/n(r)}return 1}function e(t,n,r,u){if(null==t||null==n)return null;return t+(n-t)/r*u}export{r as equivalent,u as getHeightUnitCorrectionFactor,e as interpolateM};
