FAILURE MAP
← Case archive

FA-88475 / Mesh topology invariants / Member archive

Only one endpoint of a boundary edge is marked boundary · case 05

Half the boundary vertices are treated as interior and judged against valence 6.

Member previewVariant 5 · 3 implementations · 7 checks per implementation

Case contract

Input: polygon faces. Neighbours of a vertex are the other endpoints of its edges (consecutive face corners, skipping coincident pairs). Boundary vertices are endpoints of edges used by exactly one face. Irregular vertices have valence != 6 (interior) or != 4 (boundary). Return [{vertex: valence}, irregular count, sorted boundary vertices].

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
triangle grid[{"0": 3, "1": 4, "2": 2, "3": 4, "4": 6, "5": 4, "6": 2, "7": 4, "8": 3}, 4, [0, 1, 2, 3, 5, 6, 7]][{"0": 3, "1": 4, "2": 2, "3": 4, "4": 6, "5": 4, "6": 2, "7": 4, "8": 3}, 4, [0, 1, 2, 3, 5, 6, 7, 8]]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 ↗