Expand description
Auto-generated module
🤖 Generated with SplitRS
Functions§
- catmull_
clark_ subdivide - Catmull-Clark subdivision adapted for triangle meshes.
- collapse_
short_ edges - Collapse edges shorter than
min_lenby merging endpoints. - detect_
boundary_ loops - Detect boundary (open) edge loops in
mesh. - detect_
feature_ edges - Detect feature edges in
meshwhose dihedral angle exceedsthreshold_degdegrees. - fill_
all_ holes - Repair
meshby detecting all boundary loops and filling each with a fan. - fill_
hole_ fan - Fill a single boundary loop with a fan triangulation from its centroid.
- fix_
non_ manifold_ vertices - Remove non-manifold vertices (vertices shared by more than two disconnected fans) by duplicating them.
- generate_
texture_ atlas - Generate a simple texture atlas by partitioning the mesh into connected components and packing their UV patches into a square atlas.
- isotropic_
remesh - Isotropic remeshing targeting a uniform target edge length.
- laplacian_
smooth - Apply
iterspasses of uniform Laplacian smoothing with steplambda. - loop_
subdivide - Loop subdivision with proper weighting for interior vertices.
- lscm_
parameterize - Least-Squares Conformal Maps (LSCM) UV parameterization.
- mesh_
quality_ stats - Compute aggregate quality statistics for
mesh. - mesh_
union - Boolean union of two meshes (retains all faces from both).
- midpoint_
subdivide - Simple midpoint (butterfly) subdivision: each edge is split and each triangle becomes four smaller triangles.
- point_
in_ mesh - Test whether a point
pis insidemeshusing ray casting. - qem_
decimate - Decimate a mesh to at most
target_facestriangles using quadric error metrics with greedy edge collapses. - split_
long_ edges - Split edges longer than
max_lenby inserting midpoints. - taubin_
smooth - Apply Taubin λ/μ smoothing to reduce shrinkage.
- triangle_
quality - Compute quality metrics for a single triangle given its three vertices.
- tutte_
parameterize - Tutte parameterization: map boundary to a circle, solve harmonic interior.