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... | |
Selection tools for edges.
void DeselectAllEdges | ( | Mesh * | mesh | ) |
Deselects all edges of the current grid.
void EdgeSelectionFill | ( | Mesh * | mesh | ) |
Selects neighbours of selected edges over non-selected vertices.
void SelectAllEdges | ( | Mesh * | mesh | ) |
Selects all edges of the current grid.
void SelectAssociatedEdges | ( | Mesh * | mesh | ) |
Selects edges that belong to selected faces and volumes.
void SelectBoundaryEdges | ( | Mesh * | mesh | ) |
Selects edges that lie on the boundary of the geometry.
Selects edges that at which triangles meet in a given angle.
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.
void SelectInnerEdges | ( | Mesh * | mesh | ) |
Selects edges that do not lie on the boundary of the geometry.
Selects elements which are adjacent to higher dimensional elements of different subsets.
Selects linked boundary edges of selected edges.
void SelectLinkedEdges | ( | Mesh * | mesh | ) |
Repeatedly selects all edges which are vertex-neighbors of selected edges.
Selects edges that are longer than a given threshold.
void SelectMarkedEdges | ( | Mesh * | mesh | ) |
Selects edges which are marked.
void SelectNonManifoldEdges | ( | Mesh * | mesh | ) |
Selects edges with more than 2 associated faces.
Selects edges that are shorter than a given threshold.
Selects polygonal chains which are shorter than the given threshold.
void SelectSmoothEdgePath | ( | Mesh * | mesh, |
double | max_deviation_angle, | ||
double | normal_weight, | ||
bool | stop_at_selected_vertices | ||
) |
Selects a smooth edge path.
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.