Registry
ug4Bridge::promesh::Selection::Faces Namespace Reference

Namespaces

 CoordinateBased
 

Functions

void DeselectAllFaces (Mesh *mesh)
 Deselects all faces of the current grid. More...
 
void FaceSelectionFill (Mesh *mesh)
 Selects neighbours of selected faces over non-selected edges. More...
 
void SelectAllFaces (Mesh *mesh)
 Selects all faces of the current grid. More...
 
void SelectAnisotropicFaces (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...
 
void SelectAssociatedFaces (Mesh *mesh)
 Selects faces that belong to selected volumes. More...
 
size_t SelectBentQuadrilaterals (Mesh *mesh, double dot_threshold)
 Selects quadrilaterals which do not lie in a plane. More...
 
void SelectBoundaryFaces (Mesh *mesh)
 Selects faces that lie on the boundary of the geometry. More...
 
void SelectDegenerateFaces (Mesh *mesh, double max_height)
 Selects faces that have a height shorter than a given threshold. More...
 
bool SelectFaceByIndex (Mesh *mesh, int index)
 Selects a face given its index. More...
 
void SelectFacesByNormal (Mesh *mesh, const Vec *normal, double max_deviation_angle)
 Selects faces given a normal and a maximum deviation angle. More...
 
void SelectInnerFaces (Mesh *mesh)
 Selects faces that do not lie on the boundary of the geometry. More...
 
void SelectInterfaceFaces (Mesh *mesh, bool regard_selected_neighbors_only)
 Selects elements which are adjacent to higher dimensional elements of different subsets. More...
 
void SelectIntersectingTriangles (Mesh *mesh)
 Selects intersecting triangles. Neighbors are ignored. More...
 
void SelectLinkedBoundaryFaces (Mesh *mesh, bool stop_at_selected_edges)
 Selects linked boundary faces of selected faces. More...
 
void SelectLinkedFaces (Mesh *mesh)
 Repeatedly selects all faces which are edge-neighbors of selected faces. More...
 
void SelectLinkedFlatFaces (Mesh *mesh, double max_deviation_angle, bool ignore_orientation, bool traverse_degenerated_faces, bool stop_at_selected_edges)
 Selects linked faces of selected faces that have a similar normal. More...
 
void SelectLinkedManifoldFaces (Mesh *mesh)
 Selects faces linked with the selection, not crossing non-manifold edges. More...
 
void SelectMarkedFaces (Mesh *mesh)
 Selects faces which are marked. More...
 

Function Documentation

◆ DeselectAllFaces()

void ug4Bridge::promesh::Selection::Faces::DeselectAllFaces ( Mesh mesh)

Deselects all faces of the current grid.

Parameters
[in]mesh

◆ FaceSelectionFill()

void ug4Bridge::promesh::Selection::Faces::FaceSelectionFill ( Mesh mesh)

Selects neighbours of selected faces over non-selected edges.

Parameters
[in]mesh

◆ SelectAllFaces()

void ug4Bridge::promesh::Selection::Faces::SelectAllFaces ( Mesh mesh)

Selects all faces of the current grid.

Parameters
[in]mesh

◆ SelectAnisotropicFaces()

void ug4Bridge::promesh::Selection::Faces::SelectAnisotropicFaces ( 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.

Parameters
[in]mesh
[in]min_edge_ratio

◆ SelectAssociatedFaces()

void ug4Bridge::promesh::Selection::Faces::SelectAssociatedFaces ( Mesh mesh)

Selects faces that belong to selected volumes.

Parameters
[in]mesh

◆ SelectBentQuadrilaterals()

size_t ug4Bridge::promesh::Selection::Faces::SelectBentQuadrilaterals ( Mesh mesh,
double  dot_threshold 
)

Selects quadrilaterals which do not lie in a plane.

Parameters
[in]mesh
[in]dot_threshold

◆ SelectBoundaryFaces()

void ug4Bridge::promesh::Selection::Faces::SelectBoundaryFaces ( Mesh mesh)

Selects faces that lie on the boundary of the geometry.

Parameters
[in]mesh

◆ SelectDegenerateFaces()

void ug4Bridge::promesh::Selection::Faces::SelectDegenerateFaces ( Mesh mesh,
double  max_height 
)

Selects faces that have a height shorter than a given threshold.

Parameters
[in]mesh
[in]max_height

◆ SelectFaceByIndex()

bool ug4Bridge::promesh::Selection::Faces::SelectFaceByIndex ( Mesh mesh,
int  index 
)

Selects a face given its index.

Parameters
[in]mesh
[in]index

◆ SelectFacesByNormal()

void ug4Bridge::promesh::Selection::Faces::SelectFacesByNormal ( Mesh mesh,
const Vec *  normal,
double  max_deviation_angle 
)

Selects faces given a normal and a maximum deviation angle.

Parameters
[in]mesh
[in]normal
[in]max_deviation_angle

References normal.

◆ SelectInnerFaces()

void ug4Bridge::promesh::Selection::Faces::SelectInnerFaces ( Mesh mesh)

Selects faces that do not lie on the boundary of the geometry.

Parameters
[in]mesh

◆ SelectInterfaceFaces()

void ug4Bridge::promesh::Selection::Faces::SelectInterfaceFaces ( Mesh mesh,
bool  regard_selected_neighbors_only 
)

Selects elements which are adjacent to higher dimensional elements of different subsets.

Parameters
[in]mesh
[in]regard_selected_neighbors_only

◆ SelectIntersectingTriangles()

void ug4Bridge::promesh::Selection::Faces::SelectIntersectingTriangles ( Mesh mesh)

Selects intersecting triangles. Neighbors are ignored.

Parameters
[in]mesh

◆ SelectLinkedBoundaryFaces()

void ug4Bridge::promesh::Selection::Faces::SelectLinkedBoundaryFaces ( Mesh mesh,
bool  stop_at_selected_edges 
)

Selects linked boundary faces of selected faces.

Parameters
[in]mesh
[in]stop_at_selected_edges

◆ SelectLinkedFaces()

void ug4Bridge::promesh::Selection::Faces::SelectLinkedFaces ( Mesh mesh)

Repeatedly selects all faces which are edge-neighbors of selected faces.

Parameters
[in]mesh

◆ SelectLinkedFlatFaces()

void ug4Bridge::promesh::Selection::Faces::SelectLinkedFlatFaces ( Mesh mesh,
double  max_deviation_angle,
bool  ignore_orientation,
bool  traverse_degenerated_faces,
bool  stop_at_selected_edges 
)

Selects linked faces of selected faces that have a similar normal.

Parameters
[in]mesh
[in]max_deviation_angle
[in]ignore_orientation
[in]traverse_degenerated_faces
[in]stop_at_selected_edges

◆ SelectLinkedManifoldFaces()

void ug4Bridge::promesh::Selection::Faces::SelectLinkedManifoldFaces ( Mesh mesh)

Selects faces linked with the selection, not crossing non-manifold edges.

Parameters
[in]mesh

◆ SelectMarkedFaces()

void ug4Bridge::promesh::Selection::Faces::SelectMarkedFaces ( Mesh mesh)

Selects faces which are marked.

Parameters
[in]mesh