/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/LICENSE.txt */
import{toPoint as e,getSpatialReference as t}from"./apiConverter.js";function i(i,n,r=!1){const o=e(i.m_coordinate,t(n)),d=i.m_distance,m=i.isEmpty(),s=i.m_bRightSide;return{coordinate:o,distance:d,isEmpty:m,...r&&{isRightSide:s},vertexIndex:i.m_vertexIndex}}export{i as toProximityResult};
