**polygon_triangulate_test**,
a MATLAB code which
calls polygon_triangulate(), which
triangulates a polygon in 2D.

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

polygon_triangulate, a MATLAB code which triangulates a possibly nonconvex polygon.

- polygon_triangulate_test.m calls all the tests.
- polygon_triangulate_test.sh runs all the tests.
- polygon_triangulate_test.txt the output file.

**COMB** is an example of a "comb" polygon of 10 vertices

- comb_nodes.txt, the vertex coordinates.
- comb_elements.txt, the triangles that make up the polygon.
- comb.png, a PNG image of the polygon.
- comb_triangulation.png, a PNG image of the triangulated polygon.

**HAND** outlines a hand using 59 vertices.

- hand_nodes.txt, the vertex coordinates.
- hand_elements.txt, the triangles that make up the polygon.
- hand.png, a PNG image of the polygon.
- hand_triangulation.png, a PNG image of the triangulated polygon.

**I18** is an example of a complicated nonconvex polygon, using 18 vertices.

- i18_nodes.txt, the vertex coordinates.
- i18_elements.txt, the triangles that make up the polygon.
- i18.png, a PNG image of the polygon.
- i18_triangulation.png, a PNG image of the triangulated polygon.