ProMesh User Manual  v4.3.19

Selection tools for edges. More...

Modules

 Coordinate Based
 Coordinate based edge selection.
 

Functions

void SelectAllEdges (Mesh *mesh)
 Selects all edges of the current grid. More...
 
void DeselectAllEdges (Mesh *mesh)
 Deselects 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 SelectInnerEdges (Mesh *mesh)
 Selects edges that do not lie on the boundary of the geometry. More...
 
void SelectLinkedEdges (Mesh *mesh)
 Repeatedly selects all edges which are vertex-neighbors of selected edges. More...
 
void SelectNonManifoldEdges (Mesh *mesh)
 Selects edges with more than 2 associated faces. More...
 
void SelectMarkedEdges (Mesh *mesh)
 Selects edges which are marked. More...
 
void EdgeSelectionFill (Mesh *mesh)
 Selects neighbours of selected edges over non-selected vertices. More...
 
void SelectShortEdges (Mesh *mesh, double max_length)
 Selects edges that are shorter than a given threshold. More...
 
void SelectLongEdges (Mesh *mesh, double min_length)
 Selects edges that are longer than a given threshold. More...
 
void SelectCreaseEdges (Mesh *mesh, double min_angle)
 Selects edges that at which triangles meet in a given angle. More...
 
void SelectLinkedBoundaryEdges (Mesh *mesh, bool stop_at_selected_vertices)
 Selects linked boundary edges of selected edges. More...
 
void SelectSmoothEdgePath (Mesh *mesh, double max_deviation_angle, double normal_weight, bool stop_at_selected_vertices)
 Selects a smooth edge path. More...
 
void SelectInterfaceEdges (Mesh *mesh, bool regard_selected_neighbors_only)
 Selects elements which are adjacent to higher dimensional elements of different subsets. More...
 
void SelectEdgesByDirection (Mesh *mesh, const Vec3d *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 SelectSubsetEdgesByDirection (Mesh *mesh, int subset_index, const Vec3d *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...
 
void SelectShortPolychains (Mesh *mesh, double maxChainLength, bool closedChainsOnly)
 Selects polygonal chains which are shorter than the given threshold. More...
 
bool SelectEdgeByIndex (Mesh *mesh, int index)
 Selects a edge given its index. More...
 

Detailed Description

Selection tools for edges.

Function Documentation

◆ DeselectAllEdges()

void DeselectAllEdges ( Mesh mesh)

Deselects all edges of the current grid.

◆ EdgeSelectionFill()

void EdgeSelectionFill ( Mesh mesh)

Selects neighbours of selected edges over non-selected vertices.

◆ SelectAllEdges()

void SelectAllEdges ( Mesh mesh)

Selects all edges of the current grid.

◆ SelectAssociatedEdges()

void SelectAssociatedEdges ( Mesh mesh)

Selects edges that belong to selected faces and volumes.

◆ SelectBoundaryEdges()

void SelectBoundaryEdges ( Mesh mesh)

Selects edges that lie on the boundary of the geometry.

◆ SelectCreaseEdges()

void SelectCreaseEdges ( Mesh mesh,
double  min_angle 
)

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

◆ SelectEdgeByIndex()

bool SelectEdgeByIndex ( Mesh mesh,
int  index 
)

Selects a edge given its index.

◆ SelectEdgesByDirection()

void SelectEdgesByDirection ( Mesh mesh,
const Vec3d 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.

◆ SelectInnerEdges()

void SelectInnerEdges ( Mesh mesh)

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

◆ SelectInterfaceEdges()

void SelectInterfaceEdges ( Mesh mesh,
bool  regard_selected_neighbors_only 
)

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

◆ SelectLinkedBoundaryEdges()

void SelectLinkedBoundaryEdges ( Mesh mesh,
bool  stop_at_selected_vertices 
)

Selects linked boundary edges of selected edges.

◆ SelectLinkedEdges()

void SelectLinkedEdges ( Mesh mesh)

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

◆ SelectLongEdges()

void SelectLongEdges ( Mesh mesh,
double  min_length 
)

Selects edges that are longer than a given threshold.

◆ SelectMarkedEdges()

void SelectMarkedEdges ( Mesh mesh)

Selects edges which are marked.

◆ SelectNonManifoldEdges()

void SelectNonManifoldEdges ( Mesh mesh)

Selects edges with more than 2 associated faces.

◆ SelectShortEdges()

void SelectShortEdges ( Mesh mesh,
double  max_length 
)

Selects edges that are shorter than a given threshold.

◆ SelectShortPolychains()

void SelectShortPolychains ( Mesh mesh,
double  maxChainLength,
bool  closedChainsOnly 
)

Selects polygonal chains which are shorter than the given threshold.

◆ SelectSmoothEdgePath()

void SelectSmoothEdgePath ( Mesh mesh,
double  max_deviation_angle,
double  normal_weight,
bool  stop_at_selected_vertices 
)

Selects a smooth edge path.

◆ SelectSubsetEdgesByDirection()

void SelectSubsetEdgesByDirection ( Mesh mesh,
int  subset_index,
const Vec3d 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.