ProMesh User Manual  v4.3.19

Selection tools for faces. More...

Modules

 Coordinate Based
 Coordinate based face selection.
 

Functions

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

Detailed Description

Selection tools for faces.

Function Documentation

◆ DeselectAllFaces()

void DeselectAllFaces ( Mesh mesh)

Deselects all faces of the current grid.

◆ FaceSelectionFill()

void FaceSelectionFill ( Mesh mesh)

Selects neighbours of selected faces over non-selected edges.

◆ SelectAllFaces()

void SelectAllFaces ( Mesh mesh)

Selects all faces of the current grid.

◆ SelectAnisotropicFaces()

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.

◆ SelectAssociatedFaces()

void SelectAssociatedFaces ( Mesh mesh)

Selects faces that belong to selected volumes.

◆ SelectBentQuadrilaterals()

size_t SelectBentQuadrilaterals ( Mesh mesh,
double  dot_threshold 
)

Selects quadrilaterals which do not lie in a plane.

◆ SelectBoundaryFaces()

void SelectBoundaryFaces ( Mesh mesh)

Selects faces that lie on the boundary of the geometry.

◆ SelectDegenerateFaces()

void SelectDegenerateFaces ( Mesh mesh,
double  max_height 
)

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

◆ SelectFaceByIndex()

bool SelectFaceByIndex ( Mesh mesh,
int  index 
)

Selects a face given its index.

◆ SelectFacesByNormal() [1/2]

void SelectFacesByNormal ( Mesh mesh,
const Vec3d normal,
double  max_deviation_angle 
)

Selects faces given a normal and a maximum deviation angle.

◆ SelectFacesByNormal() [2/2]

void SelectFacesByNormal ( Mesh mesh,
const Vec3d normal,
double  min_deviation_angle,
double  max_deviation_angle,
bool  ignore_inner_faces 
)

Selects faces given a normal and a maximum deviation angle.

◆ SelectInnerFaces()

void SelectInnerFaces ( Mesh mesh)

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

◆ SelectInterfaceFaces()

void SelectInterfaceFaces ( Mesh mesh,
bool  regard_selected_neighbors_only 
)

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

◆ SelectIntersectingTriangles()

void SelectIntersectingTriangles ( Mesh mesh)

Selects intersecting triangles. Neighbors are ignored.

◆ SelectLinkedBoundaryFaces()

void SelectLinkedBoundaryFaces ( Mesh mesh,
bool  stop_at_selected_edges 
)

Selects linked boundary faces of selected faces.

◆ SelectLinkedFaces()

void SelectLinkedFaces ( Mesh mesh)

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

◆ SelectLinkedFlatFaces()

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.

◆ SelectLinkedManifoldFaces()

void SelectLinkedManifoldFaces ( Mesh mesh)

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

◆ SelectMarkedFaces()

void SelectMarkedFaces ( Mesh mesh)

Selects faces which are marked.