mesh-examples/12-14-mesh/Me177.mesh.json
Sources
- CGAL `PMP.Polygon_soup_orienter.orient` Branch 8 (*orientation_conflict*: `if(oriented[index])`)
- `MESH_HEAL_COVERAGE.md`.
Description
A 4-triangle cross where hub triangle t0 (CCW seed) and neighbors t1, t2 are consistently CCW. Triangle t3 (CW) shares edges with both t0 and t2 but has incompatible winding. When the DFS processes t3's edges, it finds t0 and t2 already oriented (oriented[index]==true) but inconsistent — Branch 8 fires and the conflicting edges are marked rather than reversed.
Reproducer recipe
hub=(0,0,0); t0=(hub,v1,v2) CCW; t1=(hub,v2,v3) CCW; t2=(hub,v3,v4) CCW; t3=(hub,v1,v4) CW.
Expected kernel behavior
DFS finds already-oriented t0 and t2 incompatible with t3; Branch 8 marks those edges as conflict; t3 remains inconsistently wound.
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 1, 48 4 49 ] 50 ], 51 "metadata": { 52 "id": "Me177", 53 "schema_version": 0, 54 "defect_class": "inconsistent_winding", 55 "title": "orient orientation_conflict: oriented neighbor found incompatibly wound, edge marked as conflict", 56 "assertions": [ 57 { 58 "kind": "edge_shared_by_n_triangles", 59 "edge": [ 60 0, 61 1 62 ], 63 "n": 2 64 }, 65 { 66 "kind": "adjacent_triangles_inconsistent_winding", 67 "triangles": [ 68 0, 69 3 70 ] 71 }, 72 { 73 "kind": "edge_shared_by_n_triangles", 74 "edge": [ 75 0, 76 4 77 ], 78 "n": 2 79 }, 80 { 81 "kind": "adjacent_triangles_inconsistent_winding", 82 "triangles": [ 83 2, 84 3 85 ] 86 } 87 ] 88 } 89}