ug4
tetrahedralization.cpp File Reference
#include <vector>
#include <sstream>
#include "tetrahedralization.h"
#include "../geom_obj_util/geom_obj_util.h"
#include "../remove_duplicates_util.h"

Namespaces

 ug
 the ug namespace
 

Functions

static bool ug::PerformRetetrahedralization (Grid &grid, SubsetHandler &sh, number quality, bool preserveBnds, bool preserveAll, APosition &aPos, ANumber &aVolCon, bool applyVolumeConstraint, int verbosity)
 
static bool ug::PerformTetrahedralization (Grid &grid, ISubsetHandler *pSH, number quality, bool preserveBnds, bool preserveAll, APosition &aPos, int verbosity)
 
bool ug::Retetrahedralize (Grid &grid, SubsetHandler &sh, ANumber &aVolumeConstraint, number quality=5, bool preserveBnds=false, bool preserveAll=false, APosition &aPos=aPosition, bool applyVolumeConstraint=true, int verbosity=0)
 If tetrahedrons are already present, this method refines them based on the given volume constraints. More...
 
bool ug::Tetrahedralize (Grid &grid, ISubsetHandler &sh, number quality, bool preserveBnds, bool preserveAll, APosition &aPos, int verbosity)
 fills a closed surface-grid with tetrahedrons. More...
 
bool ug::Tetrahedralize (Grid &grid, number quality=5, bool preserveBnds=false, bool preserveAll=false, APosition &aPos=aPosition, int verbosity=0)
 fills a closed surface-grid with tetrahedrons. More...
 

Variables

static char const * sTetgenMissing
 

Variable Documentation

◆ sTetgenMissing

char const* sTetgenMissing
static
Initial value:
= "Tetrahedralization failed since Tetgen is not available in the current build.\n"
"In order to compile with Tetgen, please install Tetgen through `ughub install tetgen`\n"
"and enable Tetgen in your build using `cmake -Dtetgen=ON -DLINK_TETGEN=ON .`"

Referenced by ug::PerformRetetrahedralization(), and ug::PerformTetrahedralization().