triangle_io


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

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

triangle_io is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version.

Related Data and Programs:

triangle_io_test

fem_to_triangle, a C 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.

showme, a C code which displays the POLY files uses as input to Jonathan Shewchuk's triangle() program, and the output files that define meshes and other objects.

triangle, a C code which computes Voronoi diagrams and Delaunay triangulations, and creates and manipulates files that can be displayed by showme().

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

triangle_to_fem, a C 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 C 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.

Source Code:


Last revised on 21 August 2019.