Skip to main content

Module functions

Module functions 

Source
Expand description

Auto-generated module

🤖 Generated with SplitRS

Functions§

check_normal_deviation
Check if collapsing an edge would cause excessive normal deviation.
compact_mesh
Remove unreferenced vertices and re-index triangles.
compute_mesh_stats
Compute statistics for a mesh.
count_connected_components
Count the number of connected components in a mesh.
edge_length_decimation
Remove edges shorter than a threshold by collapsing them.
euler_characteristic
Compute the Euler characteristic χ = V - E + F.
find_boundary_edges
Find all boundary edges in a mesh.
find_boundary_vertices
Find all boundary vertices.
hausdorff_one_sided
Approximate one-sided Hausdorff distance from mesh A to mesh B.
hausdorff_symmetric
Approximate symmetric Hausdorff distance between two meshes.
mesh_signed_volume
Compute signed volume of a closed mesh using divergence theorem.
mesh_surface_area
Compute total surface area of a mesh.
point_to_triangle_dist
Compute point-to-triangle distance.
qem_simplify
Perform QEM-based mesh simplification.
simplify_to_ratio
Simplify a mesh to a target fraction of the original triangle count.
triangle_area_3d
Compute the area of a triangle in 3D.
triangle_aspect_ratio
Compute the aspect ratio of a triangle (circumradius / inradius).
triangle_min_angle
Compute the minimum angle of a triangle in radians.
triangle_quality
Compute triangle quality in [0,1] range (1 = equilateral, 0 = degenerate).
validate_topology
Validate mesh topology after simplification.
vertex_clustering
Simplify a mesh by clustering vertices into a 3D grid.
vertex_split
Perform a vertex split to increase mesh detail.