mesh-examples/12-14-mesh/Me841.mesh.json
Sources
- CGAL PMP `PMP.duplicate_non_manifold_vertices` Branch 2 (*vertex-occurrence-detection*: `if(visited_vertices.count(v)) { ... null_h ... }`)
- `MESH_HEAL_COVERAGE.md`.
Description
Multi-sector pinch vertex hub at origin shared by three single-triangle sectors (Fan A right: t0; Fan B top: t1; Fan C bottom: t2). No edges are shared between any two fans — each triangle is fully boundary. CGAL records hub in visited_vertices during Fan A traversal; when Fan B's cycle is entered, visited_vertices.count(hub) > 0 → Branch 2 fires, assigning null_h as the sentinel to trigger a new vertex duplication. Branch 2 fires again on the third encounter (Fan C). Euler: V=7, E=9, F=3, chi=1.
Reproducer recipe
hub=(0,0,0); a0=(2,0,0),a1=(1,1,0); b0=(0,2,0),b1=(-1,1,0); c0=(0,-2,0),c1=(1,-1,0); t0=(hub,a0,a1),t1=(hub,b0,b1),t2=(hub,c0,c1); all 9 edges n=1; assert_vertex_fan_disconnected(hub); euler V=7,E=9,F=3,chi=1.
Expected kernel behavior
Branch 2 fires on second and third encounter of hub in visited_vertices across distinct halfedge cycles; null_h sentinel used to mark start of new duplication event.
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 2.0, 10 0.0, 11 0.0 12 ], 13 [ 14 1.0, 15 1.0, 16 0.0 17 ], 18 [ 19 0.0, 20 2.0, 21 0.0 22 ], 23 [ 24 -1.0, 25 1.0, 26 0.0 27 ], 28 [ 29 0.0, 30 -2.0, 31 0.0 32 ], 33 [ 34 1.0, 35 -1.0, 36 0.0 37 ] 38 ], 39 "triangles": [ 40 [ 41 0, 42 1, 43 2 44 ], 45 [ 46 0, 47 3, 48 4 49 ], 50 [ 51 0, 52 5, 53 6 54 ] 55 ], 56 "metadata": { 57 "id": "Me841", 58 "schema_version": 0, 59 "defect_class": "non_manifold_vertex", 60 "title": "duplicate_non_manifold_vertices vertex-occurrence-detection: three-sector pinch hub re-encountered in visited_vertices across half-cycles; null_h sentinel fires (Branch 2)", 61 "assertions": [ 62 { 63 "kind": "edge_shared_by_n_triangles", 64 "edge": [ 65 0, 66 1 67 ], 68 "n": 1 69 }, 70 { 71 "kind": "edge_shared_by_n_triangles", 72 "edge": [ 73 1, 74 2 75 ], 76 "n": 1 77 }, 78 { 79 "kind": "edge_shared_by_n_triangles", 80 "edge": [ 81 0, 82 2 83 ], 84 "n": 1 85 }, 86 { 87 "kind": "edge_shared_by_n_triangles", 88 "edge": [ 89 0, 90 3 91 ], 92 "n": 1 93 }, 94 { 95 "kind": "edge_shared_by_n_triangles", 96 "edge": [ 97 3, 98 4 99 ], 100 "n": 1 101 }, 102 { 103 "kind": "edge_shared_by_n_triangles", 104 "edge": [ 105 0, 106 4 107 ], 108 "n": 1 109 }, 110 { 111 "kind": "edge_shared_by_n_triangles", 112 "edge": [ 113 0, 114 5 115 ], 116 "n": 1 117 }, 118 { 119 "kind": "edge_shared_by_n_triangles", 120 "edge": [ 121 5, 122 6 123 ], 124 "n": 1 125 }, 126 { 127 "kind": "edge_shared_by_n_triangles", 128 "edge": [ 129 0, 130 6 131 ], 132 "n": 1 133 }, 134 { 135 "kind": "vertex_fan_disconnected", 136 "vertex": 0 137 }, 138 { 139 "kind": "euler_characteristic", 140 "v": 7, 141 "e": 9, 142 "f": 3, 143 "chi": 1 144 } 145 ] 146 } 147}