Function try_audit_mesh

Source
pub fn try_audit_mesh<M>(
    mesh: &M,
    tolerance: Tolerance,
) -> Result<MeshHealth, MeshAuditError>
where M: TriangleMeshView + ?Sized,
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.