pub fn diagnose<M: TriangleMeshView + ?Sized>(
mesh: &M,
tolerance: Tolerance,
) -> DiagnosisExpand description
Diagnose a triangle mesh, reporting every defect class it exhibits.
Defects are returned in a deterministic order: structural classes in the audit’s own order first, then self-intersecting pairs in sorted order. The result is empty exactly when the mesh is clean.