triangulation_boundary, a MATLAB code which starts with a triangulation of a simple shape, and determines the triangle edges that form the boundary, and a sequence of nodes that trace the boundary.
The computer code and data files described and made available on this web page are distributed under the MIT license
triangulation_boundary is available in a MATLAB version and an Octave version.