/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
import{projectBuffer as e}from"../../projection/projectBuffer.js";import r from"../MeshGeoreferencedVertexSpace.js";import{equals as o}from"../spatialReferenceUtils.js";import{convertVertexSpace as t}from"./vertexSpaceConversion.js";function n(n,i){const p=t(n,r.absolute);if(!p)return null;let s=p.position;return o(n.spatialReference,i)||(s=new Float64Array(p.position.length),e(p.position,n.spatialReference,0,s,i,0))?s:null}export{n as projectMeshVertexPositions};
