mesh-examples/12-14-mesh/Me172.mesh.json
Sources
- CGAL `PMP.Polygon_soup_orienter.orient` Branch 3 (*dfs_traversal*: `while(! stack.empty())`)
- `MESH_HEAL_COVERAGE.md`.
Description
Four triangles arranged in a fan around hub vertex v0. The DFS traversal (Branch 3) pops from the stack iteratively until all four fan triangles are processed. All four are consistently CCW (+Z normals). The fixture verifies that internal fan edges are each shared by exactly 2 triangles — confirming connectivity through the DFS.
Reproducer recipe
hub=(0,0,0); rim v1=(1,0,0), v2=(0,1,0), v3=(-1,0,0), v4=(0,-1,0); t0=(hub,v1,v2), t1=(hub,v2,v3), t2=(hub,v3,v4), t3=(hub,v4,v1) all CCW.
Expected kernel behavior
DFS stack pops hub fan triangles; all four become oriented; stack empties only after all are processed.
Expected validation
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1{ 2 "vertices": [ 3 [ 4 0.0, 5 0.0, 6 0.0 7 ], 8 [ 9 1.0, 10 0.0, 11 0.0 12 ], 13 [ 14 0.0, 15 1.0, 16 0.0 17 ], 18 [ 19 -1.0, 20 0.0, 21 0.0 22 ], 23 [ 24 0.0, 25 -1.0, 26 0.0 27 ] 28 ], 29 "triangles": [ 30 [ 31 0, 32 1, 33 2 34 ], 35 [ 36 0, 37 2, 38 3 39 ], 40 [ 41 0, 42 3, 43 4 44 ], 45 [ 46 0, 47 4, 48 1 49 ] 50 ], 51 "metadata": { 52 "id": "Me172", 53 "schema_version": 0, 54 "defect_class": "inconsistent_winding", 55 "title": "orient dfs_traversal: DFS stack processes all 4 fan triangles from single seed", 56 "assertions": [ 57 { 58 "kind": "edge_shared_by_n_triangles", 59 "edge": [ 60 0, 61 1 62 ], 63 "n": 2 64 }, 65 { 66 "kind": "edge_shared_by_n_triangles", 67 "edge": [ 68 0, 69 2 70 ], 71 "n": 2 72 }, 73 { 74 "kind": "edge_shared_by_n_triangles", 75 "edge": [ 76 0, 77 3 78 ], 79 "n": 2 80 }, 81 { 82 "kind": "edge_shared_by_n_triangles", 83 "edge": [ 84 0, 85 4 86 ], 87 "n": 2 88 }, 89 { 90 "kind": "edge_shared_by_n_triangles", 91 "edge": [ 92 0, 93 1 94 ], 95 "n": 2 96 } 97 ] 98 } 99}