**triangle_io**,
a MATLAB code which
can read or write some simple versions of some of the files
used by Jonathan Shewchuk's triangle() program.

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

**triangle_io** is available in
a C version and
a C++ version and
a FORTRAN90 version and
a MATLAB version.

fem_to_triangle, a MATLAB code which reads fem files defining a 2d mesh of triangles, namely a file of node coordinates and a file of elements defined by node indices, and creates a corresponding pair of node and element files for use by jonathan shewchuk's triangle program.

poly, a data directory which contains a description and examples of the poly file format.

triangle_display, a MATLAB code which displays the nodes and elements of a triangulation on the MATLAB graphics screen, assuming the data has been stored in node and ele files by the triangle program.

triangle_files, a data directory of examples of files used by the triangle and showme programs.

triangle_to_fem, a MATLAB code which reads the node and ele files created by triangle() to describe a triangular mesh, and writes two simple "mesh" format files, listing node coordinates and element connectivity.

triangle_to_xml, a MATLAB code which reads the node and ele files created by triangle() to describe a triangular mesh in 2d, and writes out a corresponding xml mesh file for use by dolfin or fenics.

- i4mat_transpose_print.m, prints an I4MAT, transposed.
- i4mat_transpose_print_some.m, prints some of the transpose of an I4MAT.
- r8mat_transpose_print.m, prints an R8MAT, transposed.
- r8mat_transpose_print_some.m, prints some of an R8MAT, transposed.
- s_len_trim.m, returns the length of a string to the last nonblank.
- triangle_element_data_example.m, returns the element information for the example.
- triangle_element_data_read.m, reads the data from an element file.
- triangle_element_size_example.m, returns the element size information for the example.
- triangle_element_size_read.m, reads the header information from an element file.
- triangle_element_write.m, writes a TRIANGLE ".ele" file.
- triangle_node_data_example.m, returns the node information for the example.
- triangle_node_data_read.m, reads the data from a node file.
- triangle_node_size_example.m, returns the sizes of node information for the example.
- triangle_node_size_read.m, reads the header information from a node file.
- triangle_node_write.m, writes a TRIANGLE ".node" file.