directed_closed

Function directed_closed 

Source
pub fn directed_closed(mesh: &Mesh) -> bool
Expand description

DIRECTED quantized closed-surface audit (0.1 mm grid): every directed edge must be cancelled by its reverse. Strictly stronger than the undirected 2-manifold check: it catches inconsistent winding and doubled coincident surfaces (two triangles sharing an edge in the SAME direction), not just cracks. Triangles that collapse to a degenerate key on the grid are skipped. An empty mesh is not closed.