Function try_audit_mesh

Source
pub fn try_audit_mesh<M: TriangleMeshView + ?Sized>(
    mesh: &M,
    tolerance: Tolerance,
) -> Result<MeshHealth, MeshAuditError>
Expand description

Audit using one fallible, precomputable edge-record allocation.

Callers can refuse before allocation by comparing audit_mesh_scratch_bytes with their memory budget.