FAILURE MAP
← Case archive

FA-88740 / Mesh topology invariants / Member archive

Faces shared by three tetrahedra are silently dropped · case 05

A non-manifold tet mesh produces a surface with a missing fin.

Member previewVariant 5 · 3 implementations · 7 checks per implementation

Case contract

Input: tetrahedra [a,b,c,d] (positively oriented). A tet with repeated vertices returns ["degenerate", i]. Outward faces are (b,c,d),(a,d,c),(a,b,d),(a,c,b). Faces are matched by their vertex set; a set used once is boundary (kept with its first orientation, rotated to start at its smallest vertex); used more than twice returns ["non-manifold", sorted vertices]. Output boundary faces in increasing sorted-vertex-set order.

Why this case matters

Mesh processing pipelines (remeshing, export, simulation, printing) trust these topological counts and adjacency answers; a wrong invariant silently accepts broken meshes or rejects valid ones.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
fin face[[0, 1, 3], [0, 4, 1], [0, 1, 5], [0, 3, 2], [0, 2, 4], [0, 5, 2], [1, 2, 3], [1, 4, 2], [1, 2, 5]]["non-manifold", [0, 1, 2]]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗