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... | |
Various operations for triangle meshes.
Introduces edges in a grid around a selected vertex which roughly correspond to the intersection of a cylinder with the surface.
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.
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.
void ConvertToTriangles | ( | Mesh * | mesh | ) |
Converts selected quadrilaterals to triangles.
Replaces selected valence-3 and valence-4 vertices by triangles, if the curvature of associated triangles is low.
Replaces selected valence-3 vertices by triangles, if the curvature of associated triangles is low.
Inserts vertices as required and performs Constrained Delaunay triangulation.