TetGen
TetGen is a general-purpose tetrahedral mesh generator for three-dimensional domains. Developed by Hang Si, it is distributed as open-source software and is available as both a standalone command-line program and a C/C++ library that can be embedded into applications. The input describes a 3D domain as a piecewise linear complex, consisting of vertices, straight edges, and triangular facets that form the boundary of the domain. TetGen can generate conforming tetrahedral meshes for such domains and can handle interior features and sharp edges through constraint handling.
The core algorithm combines constrained Delaunay tetrahedralization with post-processing to produce high-quality meshes. TetGen can enforce
Output from TetGen includes the coordinates of mesh nodes and the indices of tetrahedra, with optional boundary