Geogram  Version 1.9.1
A programming library of geometric algorithms
GEO::MeshTetrahedralizeParameters Struct Reference

Parameters for mesh_tetrahedralize() More...

#include <geogram/mesh/mesh_tetrahedralize.h>

Public Attributes

bool preprocess = false
 Tentatively fix mesh before tetrahedralization. More...
 
bool preprocess_merge_coplanar_facets = false
 merge coplanar facets
 
double preprocess_merge_vertices_epsilon = 0.001
 Maximum distance for merging vertices if preprocess is set. More...
 
double preprocess_fill_hole_max_area = 0.01
 Maximum area for filling a hole if preprocess is set. More...
 
bool refine = true
 Inserts additional vertices to improve mesh quality.
 
double refine_quality = 2.0
 Desired mesh quality. More...
 
bool keep_regions = false
 keep internal boundaries and what is inside More...
 
bool verbose = true
 display status messages
 

Detailed Description

Parameters for mesh_tetrahedralize()

Definition at line 57 of file mesh_tetrahedralize.h.

Member Data Documentation

◆ keep_regions

bool GEO::MeshTetrahedralizeParameters::keep_regions = false

keep internal boundaries and what is inside

If set, then all internal regions are kept, and a region cell attribute is created, else only tetrahedra in the outermost region are kept.

Definition at line 95 of file mesh_tetrahedralize.h.

◆ preprocess

bool GEO::MeshTetrahedralizeParameters::preprocess = false

Tentatively fix mesh before tetrahedralization.

Merges duplicated vertices, fills small holes, removes intersections and extracts external boundary.

Definition at line 63 of file mesh_tetrahedralize.h.

◆ preprocess_fill_hole_max_area

double GEO::MeshTetrahedralizeParameters::preprocess_fill_hole_max_area = 0.01

Maximum area for filling a hole if preprocess is set.

In percent of total surface mesh area

Definition at line 77 of file mesh_tetrahedralize.h.

◆ preprocess_merge_vertices_epsilon

double GEO::MeshTetrahedralizeParameters::preprocess_merge_vertices_epsilon = 0.001

Maximum distance for merging vertices if preprocess is set.

In percent of bounding box diagonal

Definition at line 72 of file mesh_tetrahedralize.h.

◆ refine_quality

double GEO::MeshTetrahedralizeParameters::refine_quality = 2.0

Desired mesh quality.

it is typically in [1.0, 2.0], it specifies the desired quality of mesh elements (1.0 means maximum quality, and generates a higher number of elements).

Definition at line 88 of file mesh_tetrahedralize.h.


The documentation for this struct was generated from the following file: