mesh-examples/12-14-mesh/Me176.mesh.json
Sources
- CGAL `PMP.Polygon_soup_orienter.orient` Branch 7 (*multi_neighbor_same_orient*: `if (it_same_orient->second.size() > 1)`)
- `MESH_HEAL_COVERAGE.md`.
Description
Three triangles all include directed half-edge v0→v1 as their first edge. The same-orientation edge map bucket for (v0→v1) collects all three — size 3 > 1 — which fires Branch 7. This is the orient-specific flavor of a non-manifold edge where the problem is same-direction traversal from multiple polygons, not just manifold count.
Reproducer recipe
v0=(0,0,0), v1=(1,0,0), v2=(0.5,1,0), v3=(0.5,-1,0), v4=(0.5,0,1); t0=(v0,v1,v2), t1=(v0,v1,v3), t2=(v0,v1,v4) — all start with directed v0→v1.
Expected kernel behavior
same-orient bucket size > 1 detected; orient marks edges conflicting; no single orientation reversal can resolve the multi-neighbor ambiguity.
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.5, 15 1.0, 16 0.0 17 ], 18 [ 19 0.5, 20 -1.0, 21 0.0 22 ], 23 [ 24 0.5, 25 0.0, 26 1.0 27 ] 28 ], 29 "triangles": [ 30 [ 31 0, 32 1, 33 2 34 ], 35 [ 36 0, 37 1, 38 3 39 ], 40 [ 41 0, 42 1, 43 4 44 ] 45 ], 46 "metadata": { 47 "id": "Me176", 48 "schema_version": 0, 49 "defect_class": "non_manifold_edge", 50 "title": "orient multi_neighbor_same_orient: same directed edge in >1 incident polygon same-direction map", 51 "assertions": [ 52 { 53 "kind": "edge_shared_by_n_triangles", 54 "edge": [ 55 0, 56 1 57 ], 58 "n": 3 59 }, 60 { 61 "kind": "adjacent_triangles_inconsistent_winding", 62 "triangles": [ 63 0, 64 1 65 ] 66 } 67 ] 68 } 69}