Robuta

https://www.mathworks.com/help/pde/ug/discretegeometry.nearestface.html nearestFace - Find faces nearest to specified point - MATLAB This MATLAB function finds faces nearest to the point with the coordinates Coords. findfacesnearestpointmatlab