Functions

OpenTissue::t4mesh::tetgen Namespace Reference

Functions

template<typename t4mesh_type , typename polymesh_type >
bool constrained_delaunay_tetrahedralization (const polymesh_type &polymesh, t4mesh_type &t4mesh)
template<typename t4mesh_type , typename polymesh_type >
bool quality_tetrahedralization (const polymesh_type &polymesh, t4mesh_type &t4mesh)

Function Documentation

template<typename t4mesh_type , typename polymesh_type >
bool OpenTissue::t4mesh::tetgen::constrained_delaunay_tetrahedralization ( const polymesh_type &  polymesh,
t4mesh_type &  t4mesh 
) [inline]

Constrained Delaunay Tetrahedralization Routine.

  • uses TetGen to create the resulting tetrahedal mesh
Parameters:
polymesh A poly mesh, which holds a closed two-manifold.
t4mesh A generic t4mesh, which upon return holds the generated tetrahedal mesh.
Returns:
if succesfull then the return value is true otherwise it is false.
template<typename t4mesh_type , typename polymesh_type >
bool OpenTissue::t4mesh::tetgen::quality_tetrahedralization ( const polymesh_type &  polymesh,
t4mesh_type &  t4mesh 
) [inline]

Quality Tetrahedralization Routine.

  • uses TetGen to create the resulting tetrahedal mesh
Parameters:
polymesh A poly mesh, which holds a closed two-manifold.
t4mesh A generic t4mesh, which upon return holds the generated tetrahedal mesh.
Returns:
if succesfull then the return value is true otherwise it is false.