ProMesh User Manual  v4.3.19

Various operations for triangle meshes. More...

Functions

void ConvertToTriangles (Mesh *mesh)
 Converts selected quadrilaterals to triangles. More...
 
void TriangleFill (Mesh *mesh, bool quality_generation, double min_angle, int subset)
 Performs triangle fill using the sweep-line algorithm followed by an optional Constrained Delaunay retriangulation. More...
 
void Retriangulate (Mesh *mesh, double min_angle)
 Inserts vertices as required and performs Constrained Delaunay triangulation. More...
 
void AdjustEdgeLength (Mesh *mesh, double min_edge_length, double max_edge_length, int num_iterations, bool adaptive, bool automark_boundaries)
 Remeshes the active grid so that all edges approximatly have a certain length. More...
 
void AdjustEdgeLengthExtended (Mesh *mesh, double min_edge_length, double max_edge_length, double approximation, double triangle_quality, int num_iterations, bool automark_boundaries)
 Remeshes the active grid so that all edges approximatly have a certain length. More...
 
void AdaptSurfaceToCylinder (Mesh *mesh, double radius, double threshold)
 Introduces edges in a grid around a selected vertex which roughly correspond to the intersection of a cylinder with the surface. More...
 
void ReplaceValence3Vertices (Mesh *mesh, double max_relative_height)
 Replaces selected valence-3 vertices by triangles, if the curvature of associated triangles is low. More...
 
void ReplaceLowValenceVertices (Mesh *mesh, double max_relative_height)
 Replaces selected valence-3 and valence-4 vertices by triangles, if the curvature of associated triangles is low. More...
 

Detailed Description

Various operations for triangle meshes.

Function Documentation

◆ AdaptSurfaceToCylinder()

void AdaptSurfaceToCylinder ( Mesh mesh,
double  radius,
double  threshold 
)

Introduces edges in a grid around a selected vertex which roughly correspond to the intersection of a cylinder with the surface.

◆ AdjustEdgeLength()

void AdjustEdgeLength ( Mesh mesh,
double  min_edge_length,
double  max_edge_length,
int  num_iterations,
bool  adaptive,
bool  automark_boundaries 
)

Remeshes the active grid so that all edges approximatly have a certain length.

◆ AdjustEdgeLengthExtended()

void AdjustEdgeLengthExtended ( Mesh mesh,
double  min_edge_length,
double  max_edge_length,
double  approximation,
double  triangle_quality,
int  num_iterations,
bool  automark_boundaries 
)

Remeshes the active grid so that all edges approximatly have a certain length.

◆ ConvertToTriangles()

void ConvertToTriangles ( Mesh mesh)

Converts selected quadrilaterals to triangles.

◆ ReplaceLowValenceVertices()

void ReplaceLowValenceVertices ( Mesh mesh,
double  max_relative_height 
)

Replaces selected valence-3 and valence-4 vertices by triangles, if the curvature of associated triangles is low.

◆ ReplaceValence3Vertices()

void ReplaceValence3Vertices ( Mesh mesh,
double  max_relative_height 
)

Replaces selected valence-3 vertices by triangles, if the curvature of associated triangles is low.

◆ Retriangulate()

void Retriangulate ( Mesh mesh,
double  min_angle 
)

Inserts vertices as required and performs Constrained Delaunay triangulation.

◆ TriangleFill()

void TriangleFill ( Mesh mesh,
bool  quality_generation,
double  min_angle,
int  subset 
)

Performs triangle fill using the sweep-line algorithm followed by an optional Constrained Delaunay retriangulation.