pub fn audit_mesh<M: TriangleMeshView + ?Sized>(
mesh: &M,
tolerance: Tolerance,
) -> MeshHealthExpand description
Audit a triangle mesh with an explicit source-unit tolerance.
A triangle is degenerate when its doubled area is at most
tolerance.linear()²; the implementation compares squared values to avoid a
square root. Pass Tolerance::ZERO for exact-coordinate compatibility.
This compatibility entry point falls back to the historical map-backed
audit if the bounded vector reservation fails. Operations with an explicit
memory budget should use try_audit_mesh and preflight
audit_mesh_scratch_bytes instead.