11#ifndef EASY3D_ALGO_SURFACE_MESH_TETRAHEDRALIZATION_H
12#define EASY3D_ALGO_SURFACE_MESH_TETRAHEDRALIZATION_H
45 allow_steiner_points_on_boundary_ = x;
100 tetgenio* to_tetgen_surface(
SurfaceMesh* mesh)
const;
101 PolyMesh* to_easy3d_poly_mesh(tetgenio* volume)
const;
104 bool allow_steiner_points_on_boundary_;
106 double max_tet_shape_;
107 double min_dihedral_angle_;
108 double max_tet_volume_;
109 std::string command_line_;
Data structure representing a polyhedral mesh.
Definition poly_mesh.h:49
A halfedge data structure for polygonal meshes of 2-manifold.
Definition surface_mesh.h:51
SurfaceMeshTetrehedralization()
Constructor.
Definition surface_mesh_tetrahedralization.cpp:23
void set_tag_regions(bool x)
If enabled, assigns an additional attribute (an integer number) to each tetrahedron that identifies t...
Definition surface_mesh_tetrahedralization.h:84
void set_min_dihedral_angle(double x)
Sets the minimum allowable dihedral angle.
Definition surface_mesh_tetrahedralization.h:66
PolyMesh * apply(SurfaceMesh *mesh)
Performs tetrahedralization on the input mesh.
Definition surface_mesh_tetrahedralization.cpp:29
~SurfaceMeshTetrehedralization()=default
Destructor.
void set_command_line(const std::string &x)
If specified, overrides all other options.
Definition surface_mesh_tetrahedralization.h:90
void set_max_tet_volume(double x)
Sets the maximum volume constraint on all tetrahedra.
Definition surface_mesh_tetrahedralization.h:76
void set_allow_steiner_points_on_boundary(bool x)
Sets if Steiner points are allowed on the boundary edges and faces of the input surface.
Definition surface_mesh_tetrahedralization.h:44
void set_max_tet_shape(double x)
Sets the maximum allowable radius-edge ratio.
Definition surface_mesh_tetrahedralization.h:56
Definition collider.cpp:182