ProMesh User Manual  v4.3.19

Selection tools for volumes. More...

Modules

 Coordinate Based
 Coordinate based volume selection.
 

Functions

void SelectAllVolumes (Mesh *mesh)
 Selects all volumes of the current grid. More...
 
void DeselectAllVolumes (Mesh *mesh)
 Deselects all volumes of the current grid. More...
 
void VolumeSelectionFill (Mesh *mesh)
 Selects neighbours of selected volumes over non-selected faces. More...
 
void SelectLinkedVolumes (Mesh *mesh)
 Repeatedly selects all volumes which are face-neighbors of selected volumes. More...
 
int SelectSlivers (Mesh *mesh, double threshold_ratio)
 Selects flat tetrahedrons. Threshold-ratio specifies the minimal ratio between the distance of two opposing edges to the length of the longest edge. More...
 
void SelectAnisotropicVolumes (Mesh *mesh, double min_edge_ratio)
 Selects elements and associated long edges wich have a shortest-to-longest edge ratio smaller than the specified one. More...
 
int SelectUnorientableVolumes (Mesh *mesh)
 Selects all volumes whose orientation can not be determined. More...
 
bool SelectVolumeByIndex (Mesh *mesh, int index)
 Selects a volume given its index. More...
 
void SelectVolumesByType (Mesh *mesh, bool Hexahedra, bool Octahedra, bool Prisms, bool Pyramids, bool Tetrahedra)
 Selects all volumes of a given type. More...
 

Detailed Description

Selection tools for volumes.

Function Documentation

◆ DeselectAllVolumes()

void DeselectAllVolumes ( Mesh mesh)

Deselects all volumes of the current grid.

◆ SelectAllVolumes()

void SelectAllVolumes ( Mesh mesh)

Selects all volumes of the current grid.

◆ SelectAnisotropicVolumes()

void SelectAnisotropicVolumes ( Mesh mesh,
double  min_edge_ratio 
)

Selects elements and associated long edges wich have a shortest-to-longest edge ratio smaller than the specified one.

◆ SelectLinkedVolumes()

void SelectLinkedVolumes ( Mesh mesh)

Repeatedly selects all volumes which are face-neighbors of selected volumes.

◆ SelectSlivers()

int SelectSlivers ( Mesh mesh,
double  threshold_ratio 
)

Selects flat tetrahedrons. Threshold-ratio specifies the minimal ratio between the distance of two opposing edges to the length of the longest edge.

◆ SelectUnorientableVolumes()

int SelectUnorientableVolumes ( Mesh mesh)

Selects all volumes whose orientation can not be determined.

◆ SelectVolumeByIndex()

bool SelectVolumeByIndex ( Mesh mesh,
int  index 
)

Selects a volume given its index.

◆ SelectVolumesByType()

void SelectVolumesByType ( Mesh mesh,
bool  Hexahedra,
bool  Octahedra,
bool  Prisms,
bool  Pyramids,
bool  Tetrahedra 
)

Selects all volumes of a given type.

◆ VolumeSelectionFill()

void VolumeSelectionFill ( Mesh mesh)

Selects neighbours of selected volumes over non-selected faces.