Registry
ug4Bridge::promesh::Selection::Edges Namespace Reference

Namespaces

 CoordinateBased
 

Functions

void DeselectAllEdges (Mesh *mesh)
 Deselects all edges of the current grid. More...
 
void EdgeSelectionFill (Mesh *mesh)
 Selects neighbours of selected edges over non-selected vertices. More...
 
void SelectAllEdges (Mesh *mesh)
 Selects all edges of the current grid. More...
 
void SelectAssociatedEdges (Mesh *mesh)
 Selects edges that belong to selected faces and volumes. More...
 
void SelectBoundaryEdges (Mesh *mesh)
 Selects edges that lie on the boundary of the geometry. More...
 
void SelectCreaseEdges (Mesh *mesh, double min_angle)
 Selects edges that at which triangles meet in a given angle. More...
 
bool SelectEdgeByIndex (Mesh *mesh, int index)
 Selects a edge given its index. More...
 
void SelectEdgesByDirection (Mesh *mesh, const Vec *direction, double min_deviation_angle, double max_deviation_angle, bool select_flipped_edges)
 Selects all edges which do not deviate further from the specified direction than the given angle. A minimal required deviation angle can also be specified. More...
 
void SelectInnerEdges (Mesh *mesh)
 Selects edges that do not lie on the boundary of the geometry. More...
 
void SelectInterfaceEdges (Mesh *mesh, bool regard_selected_neighbors_only)
 Selects elements which are adjacent to higher dimensional elements of different subsets. More...
 
void SelectLinkedBoundaryEdges (Mesh *mesh, bool stop_at_selected_vertices)
 Selects linked boundary edges of selected edges. More...
 
void SelectLinkedEdges (Mesh *mesh)
 Repeatedly selects all edges which are vertex-neighbors of selected edges. More...
 
void SelectLongEdges (Mesh *mesh, double min_length)
 Selects edges that are longer than a given threshold. More...
 
void SelectMarkedEdges (Mesh *mesh)
 Selects edges which are marked. More...
 
void SelectNonManifoldEdges (Mesh *mesh)
 Selects edges with more than 2 associated faces. More...
 
void SelectShortEdges (Mesh *mesh, double max_length)
 Selects edges that are shorter than a given threshold. More...
 
void SelectShortPolychains (Mesh *mesh, double maxChainLength, bool closedChainsOnly)
 Selects polygonal chains which are shorter than the given threshold. More...
 
void SelectSmoothEdgePath (Mesh *mesh, double max_deviation_angle, double normal_weight, bool stop_at_selected_vertices)
 Selects a smooth edge path. More...
 
void SelectSubsetEdgesByDirection (Mesh *mesh, int subset_index, const Vec *direction, double min_deviation_angle, double max_deviation_angle, bool select_flipped_edges)
 Selects all subset edges which do not deviate further from the specified direction than the given angle. A minimal required deviation angle can also be specified. More...
 

Function Documentation

◆ DeselectAllEdges()

void ug4Bridge::promesh::Selection::Edges::DeselectAllEdges ( Mesh mesh)

Deselects all edges of the current grid.

Parameters
[in]mesh

◆ EdgeSelectionFill()

void ug4Bridge::promesh::Selection::Edges::EdgeSelectionFill ( Mesh mesh)

Selects neighbours of selected edges over non-selected vertices.

Parameters
[in]mesh

◆ SelectAllEdges()

void ug4Bridge::promesh::Selection::Edges::SelectAllEdges ( Mesh mesh)

Selects all edges of the current grid.

Parameters
[in]mesh

◆ SelectAssociatedEdges()

void ug4Bridge::promesh::Selection::Edges::SelectAssociatedEdges ( Mesh mesh)

Selects edges that belong to selected faces and volumes.

Parameters
[in]mesh

◆ SelectBoundaryEdges()

void ug4Bridge::promesh::Selection::Edges::SelectBoundaryEdges ( Mesh mesh)

Selects edges that lie on the boundary of the geometry.

Parameters
[in]mesh

◆ SelectCreaseEdges()

void ug4Bridge::promesh::Selection::Edges::SelectCreaseEdges ( Mesh mesh,
double  min_angle 
)

Selects edges that at which triangles meet in a given angle.

Parameters
[in]mesh
[in]min_angle

◆ SelectEdgeByIndex()

bool ug4Bridge::promesh::Selection::Edges::SelectEdgeByIndex ( Mesh mesh,
int  index 
)

Selects a edge given its index.

Parameters
[in]mesh
[in]index

◆ SelectEdgesByDirection()

void ug4Bridge::promesh::Selection::Edges::SelectEdgesByDirection ( Mesh mesh,
const Vec *  direction,
double  min_deviation_angle,
double  max_deviation_angle,
bool  select_flipped_edges 
)

Selects all edges which do not deviate further from the specified direction than the given angle. A minimal required deviation angle can also be specified.

Parameters
[in]mesh
[in]direction
[in]min_deviation_angle
[in]max_deviation_angle
[in]select_flipped_edges

◆ SelectInnerEdges()

void ug4Bridge::promesh::Selection::Edges::SelectInnerEdges ( Mesh mesh)

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

Parameters
[in]mesh

◆ SelectInterfaceEdges()

void ug4Bridge::promesh::Selection::Edges::SelectInterfaceEdges ( 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

◆ SelectLinkedBoundaryEdges()

void ug4Bridge::promesh::Selection::Edges::SelectLinkedBoundaryEdges ( Mesh mesh,
bool  stop_at_selected_vertices 
)

Selects linked boundary edges of selected edges.

Parameters
[in]mesh
[in]stop_at_selected_vertices

◆ SelectLinkedEdges()

void ug4Bridge::promesh::Selection::Edges::SelectLinkedEdges ( Mesh mesh)

Repeatedly selects all edges which are vertex-neighbors of selected edges.

Parameters
[in]mesh

◆ SelectLongEdges()

void ug4Bridge::promesh::Selection::Edges::SelectLongEdges ( Mesh mesh,
double  min_length 
)

Selects edges that are longer than a given threshold.

Parameters
[in]mesh
[in]min_length

◆ SelectMarkedEdges()

void ug4Bridge::promesh::Selection::Edges::SelectMarkedEdges ( Mesh mesh)

Selects edges which are marked.

Parameters
[in]mesh

◆ SelectNonManifoldEdges()

void ug4Bridge::promesh::Selection::Edges::SelectNonManifoldEdges ( Mesh mesh)

Selects edges with more than 2 associated faces.

Parameters
[in]mesh

◆ SelectShortEdges()

void ug4Bridge::promesh::Selection::Edges::SelectShortEdges ( Mesh mesh,
double  max_length 
)

Selects edges that are shorter than a given threshold.

Parameters
[in]mesh
[in]max_length

◆ SelectShortPolychains()

void ug4Bridge::promesh::Selection::Edges::SelectShortPolychains ( Mesh mesh,
double  maxChainLength,
bool  closedChainsOnly 
)

Selects polygonal chains which are shorter than the given threshold.

Parameters
[in]mesh
[in]maxChainLength
[in]closedChainsOnly

◆ SelectSmoothEdgePath()

void ug4Bridge::promesh::Selection::Edges::SelectSmoothEdgePath ( Mesh mesh,
double  max_deviation_angle,
double  normal_weight,
bool  stop_at_selected_vertices 
)

Selects a smooth edge path.

Parameters
[in]mesh
[in]max_deviation_angle
[in]normal_weight
[in]stop_at_selected_vertices

◆ SelectSubsetEdgesByDirection()

void ug4Bridge::promesh::Selection::Edges::SelectSubsetEdgesByDirection ( Mesh mesh,
int  subset_index,
const Vec *  direction,
double  min_deviation_angle,
double  max_deviation_angle,
bool  select_flipped_edges 
)

Selects all subset edges which do not deviate further from the specified direction than the given angle. A minimal required deviation angle can also be specified.

Parameters
[in]mesh
[in]subset_index
[in]direction
[in]min_deviation_angle
[in]max_deviation_angle
[in]select_flipped_edges