https://it.mathworks.com/help/matlab/ref/triangulation.featureedges.html
featureEdges - Sharp edges of surface triangulation - MATLAB
This MATLAB function returns the feature edges in a 2-D triangulation according to an angle theta.
sharp edgessurfacetriangulationmatlab