Easy3D 2.5.3
|
Generate quality tetrahedralization from closed shells. More...
#include <easy3d/algo/surface_mesh_tetrahedralization.h>
Public Member Functions | |
void | set_allow_steiner_points_on_boundary (bool x) |
void | set_max_tet_shape (double x) |
void | set_min_dihedral_angle (double x) |
void | set_max_tet_volume (double x) |
void | set_tag_regions (bool x) |
void | set_command_line (const std::string &x) |
PolyMesh * | apply (SurfaceMesh *mesh) |
Generate quality tetrahedralization from closed shells.
PolyMesh * apply | ( | SurfaceMesh * | mesh | ) |
Performs tetrahedralization on the input mesh.
|
inline |
Sets if Steiner points are allowed on the boundary edges and faces of the input surface. Default is true.
Disable this will preserve the input boundary edges and faces. In this case, Steiner points (if there exists any) will appear only in the interior space of the input surface.
|
inline |
If specified, overrides all other options.
|
inline |
Sets the maximum allowable radius-edge ratio. Default value is 2.0. The value controls how new points can be added to improve the mesh quality. More complicated constraints can be set by using set_command_line(). See the "-q" switch in tetgen manual. http://wias-berlin.de/software/tetgen/1.5/doc/manual/manual005.html#cmd-q
|
inline |
Sets the maximum volume constraint on all tetrahedra. Default value is -1 (no max volume constraint).
A positive value indicates that no tetrahedra is generated whose volume is larger than this value.
|
inline |
Sets the minimum allowable dihedral angle. Default value is 0. The value controls how new points can be added to improve the mesh quality. More complicated constraints can be set by using set_command_line(). See the "-q" switch in tetgen manual. http://wias-berlin.de/software/tetgen/1.5/doc/manual/manual005.html#cmd-q
|
inline |
If enabled, assigns an additional attribute (an integer number) to each tetrahedron that identifies to what facet-bounded region it belongs. In the output mesh, all tetrahedra in the same region will get a corresponding non-zero attribute.