mesh-examples/12-14-mesh/Me790.mesh.json
Sources
- CGAL PMP `PMP.non_manifold_vertices` Branch 1 (*nonmanifold_vertex_detection*: `halfedge_around_target(v, tm)` detects multiple border halfedges)
- `MESH_HEAL_COVERAGE.md`.
Description
Classic bowtie: pinch vertex hub=(0,0,0) shared by two completely disconnected triangle fans. Fan A (upper, y>0): t0=(hub,a0,a1), t1=(hub,a1,a2); interior edge (hub,a1) n=2. Fan B (lower, y<0): t2=(hub,b0,b1), t3=(hub,b1,b2); interior edge (hub,b1) n=2. Hub has 4 border halfedges — 2 per umbrella — forcing the algorithm to emit a representative halfedge for each sector. Branch 1 fires as the detection gate: halfedge(v,tm) is non-null so star-traversal begins. Each fan CC is isolated; hub's fan is disconnected. Euler: V=7, E=10, F=4, chi=1.
Reproducer recipe
hub=(0,0,0); a0=(1,1,0),a1=(0,1,0),a2=(-1,1,0); b0=(1,-1,0),b1=(0,-1,0),b2=(-1,-1,0); t0=(hub,a0,a1), t1=(hub,a1,a2), t2=(hub,b0,b1), t3=(hub,b1,b2); assert_edge_shared(hub,a1,2); assert_edge_shared(hub,b1,2); border hub edges n=1; assert_vertex_fan_disconnected(hub); euler V=7,E=10,F=4,chi=1.
Expected kernel behavior
Branch 1 fires; halfedge_around_target traversal detects 2 umbrella sectors (Fan A, Fan B); one representative halfedge emitted per sector for non_manifold_vertices output.
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 1.0, 11 0.0 12 ], 13 [ 14 0.0, 15 1.0, 16 0.0 17 ], 18 [ 19 -1.0, 20 1.0, 21 0.0 22 ], 23 [ 24 1.0, 25 -1.0, 26 0.0 27 ], 28 [ 29 0.0, 30 -1.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 2, 48 3 49 ], 50 [ 51 0, 52 4, 53 5 54 ], 55 [ 56 0, 57 5, 58 6 59 ] 60 ], 61 "metadata": { 62 "id": "Me790", 63 "schema_version": 0, 64 "defect_class": "non_manifold_vertex", 65 "title": "PMP.non_manifold_vertices nonmanifold_vertex_detection: bowtie hub vertex with 2 disconnected umbrella sectors; 4 border halfedges at hub trigger sector enumeration (Branch 1)", 66 "assertions": [ 67 { 68 "kind": "edge_shared_by_n_triangles", 69 "edge": [ 70 0, 71 2 72 ], 73 "n": 2 74 }, 75 { 76 "kind": "edge_shared_by_n_triangles", 77 "edge": [ 78 0, 79 5 80 ], 81 "n": 2 82 }, 83 { 84 "kind": "edge_shared_by_n_triangles", 85 "edge": [ 86 0, 87 1 88 ], 89 "n": 1 90 }, 91 { 92 "kind": "edge_shared_by_n_triangles", 93 "edge": [ 94 0, 95 3 96 ], 97 "n": 1 98 }, 99 { 100 "kind": "edge_shared_by_n_triangles", 101 "edge": [ 102 0, 103 4 104 ], 105 "n": 1 106 }, 107 { 108 "kind": "edge_shared_by_n_triangles", 109 "edge": [ 110 0, 111 6 112 ], 113 "n": 1 114 }, 115 { 116 "kind": "edge_shared_by_n_triangles", 117 "edge": [ 118 1, 119 2 120 ], 121 "n": 1 122 }, 123 { 124 "kind": "edge_shared_by_n_triangles", 125 "edge": [ 126 2, 127 3 128 ], 129 "n": 1 130 }, 131 { 132 "kind": "edge_shared_by_n_triangles", 133 "edge": [ 134 4, 135 5 136 ], 137 "n": 1 138 }, 139 { 140 "kind": "edge_shared_by_n_triangles", 141 "edge": [ 142 5, 143 6 144 ], 145 "n": 1 146 }, 147 { 148 "kind": "vertex_fan_disconnected", 149 "vertex": 0 150 }, 151 { 152 "kind": "vertex_pair_no_shared_triangle", 153 "pair": [ 154 1, 155 4 156 ] 157 }, 158 { 159 "kind": "euler_characteristic", 160 "v": 7, 161 "e": 10, 162 "f": 4, 163 "chi": 1 164 } 165 ] 166 } 167}