Skip to main content

Module remesh

Module remesh 

Source
Expand description

Mesh remeshing algorithms.

Provides isotropic remeshing (split/collapse/flip/smooth/project loop), Loop subdivision for triangle meshes, and Catmull-Clark subdivision for quad meshes.

Structs§

CatmullClark
Catmull-Clark subdivision for quad meshes.
LoopSubdivision
Loop subdivision scheme for triangle meshes.
UniformRemesher
Isotropic remesher that targets a specified edge length.

Functions§

adaptive_refine_by_curvature
Refine triangles with estimated curvature exceeding threshold.
coarsen_mesh
Coarsen a mesh by collapsing all edges shorter than target_len.
collapse_edge
Collapse the edge between vertices v0 and v1 to their midpoint.
delaunay_edge_flip
Flip edges in a 2D-projected triangle mesh to satisfy the Delaunay criterion.
feature_preserving_remesh
Feature-preserving isotropic remeshing.
flip_edges_for_quality
Flip edges to improve triangle quality (maximize minimum angle).
isotropic_remesh
Isotropic remeshing via repeated split / collapse / flip / smooth / project.
laplacian_smooth
Apply iterations rounds of uniform Laplacian smoothing to a mesh.
mesh_aspect_ratio_avg
Compute average aspect ratio of all triangles.
mesh_quality_min_angle
Compute the minimum angle quality metric over all triangles.
saliency_weighted_remesh
Remesh with non-uniform target edge lengths guided by per-vertex saliency.
tangent_laplacian_smooth
Tangent-space Laplacian smoothing: smooths vertices but projects back to the original surface after each iteration.
vertex_clustering_decimate
Decimate a mesh using vertex clustering.