ProMesh User Manual  v4.3.19

Various operations on selected edges (split, swap, collapse) More...

Functions

void CollapseEdge (Mesh *mesh)
 Collapses the edge and removes adjacent triangles. More...
 
void SplitEdge (Mesh *mesh)
 Splits the edge and inserts new triangles. More...
 
void SwapEdge (Mesh *mesh)
 Swaps selected edges that are adjacent to exactly two triangles. More...
 
void SimplifyPolylines (Mesh *mesh, double max_curvature_angle)
 Removes vertices from the selected polyline which have a smaller curvature than the specified angle. More...
 
void SimplifySmoothedPolylines (Mesh *mesh, double max_curvature_angle, double smoothing_alpha, int smoothing_iterations)
 Removes vertices from the selected polyline which have a smaller smoothed curvature than the specified angle. More...
 

Detailed Description

Various operations on selected edges (split, swap, collapse)

Function Documentation

◆ CollapseEdge()

void CollapseEdge ( Mesh mesh)

Collapses the edge and removes adjacent triangles.

◆ SimplifyPolylines()

void SimplifyPolylines ( Mesh mesh,
double  max_curvature_angle 
)

Removes vertices from the selected polyline which have a smaller curvature than the specified angle.

◆ SimplifySmoothedPolylines()

void SimplifySmoothedPolylines ( Mesh mesh,
double  max_curvature_angle,
double  smoothing_alpha,
int  smoothing_iterations 
)

Removes vertices from the selected polyline which have a smaller smoothed curvature than the specified angle.

◆ SplitEdge()

void SplitEdge ( Mesh mesh)

Splits the edge and inserts new triangles.

◆ SwapEdge()

void SwapEdge ( Mesh mesh)

Swaps selected edges that are adjacent to exactly two triangles.