tri_surface_io, a FORTRAN90 code which reads or writes the 3D graphics information stored in a pair of files that represent a TRI_SURFACE, that is, an object whose surface is represented by a collection of triangles.


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


tri_surface_io is available in a C++ version and a FORTRAN90 version and a MATLAB version.

Related Data and Programs:

PLY_TO_TRI_SURFACE, a MATLAB program which extracts data from a PLY file and writes it to a TRI_SURFACE file.

TET_MESH_BOUNDARY, a FORTRAN90 code which returns the nodes and faces of the boundary of a tetrahedral mesh, which themselves form a 3D triangular mesh or "TRI_SURFACE".


Source Code:

Last revised on 08 September 2020.