mesh-examples/12-14-mesh/Me1164.mesh.json
Sources
- CGAL PMP `triangulate_and_refine_hole.main` Branch 4 (*visitor_callback_optional*: `GetVisitor::type visitor = choose_parameter(get_parameter(np, internal_np::visitor), Default_visitor())
- ` @ line 402)
- `MESH_HEAL_COVERAGE.md`.
Description
A hexagonal hole bordered by six hat-triangles. When no visitor is supplied, Branch 4 fires and Default_visitor (no-op) is substituted so start_refine_phase/end_refine_phase callbacks are harmless no-ops. V=12, E=18, F=6, chi=0.
Reproducer recipe
Hex corners r0=(1,0,0)..r5=(0.5,0.87,0); hat outer r6..r11; six hat tris; hex hole edges n=1; hole_boundary [r0,r1,r2,r3,r4,r5]; euler V=12,E=18,F=6,chi=0.
Expected kernel behavior
Branch 4 fires; visitor parameter absent → Default_visitor substituted; start/end_refine_phase callbacks invoked as no-ops; triangulate+refine runs normally.
Expected validation
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1{ 2 "vertices": [ 3 [ 4 1.0, 5 0.0, 6 0.0 7 ], 8 [ 9 2.0, 10 0.0, 11 0.0 12 ], 13 [ 14 2.5, 15 0.87, 16 0.0 17 ], 18 [ 19 2.0, 20 1.73, 21 0.0 22 ], 23 [ 24 1.0, 25 1.73, 26 0.0 27 ], 28 [ 29 0.5, 30 0.87, 31 0.0 32 ], 33 [ 34 1.5, 35 -0.87, 36 0.0 37 ], 38 [ 39 3.0, 40 0.0, 41 0.0 42 ], 43 [ 44 3.0, 45 1.73, 46 0.0 47 ], 48 [ 49 1.5, 50 2.6, 51 0.0 52 ], 53 [ 54 0.0, 55 1.73, 56 0.0 57 ], 58 [ 59 0.0, 60 0.0, 61 0.0 62 ] 63 ], 64 "triangles": [ 65 [ 66 0, 67 6, 68 1 69 ], 70 [ 71 1, 72 7, 73 2 74 ], 75 [ 76 2, 77 8, 78 3 79 ], 80 [ 81 3, 82 9, 83 4 84 ], 85 [ 86 4, 87 10, 88 5 89 ], 90 [ 91 5, 92 11, 93 0 94 ] 95 ], 96 "metadata": { 97 "id": "Me1164", 98 "schema_version": 0, 99 "defect_class": "boundary_hole", 100 "title": "triangulate_and_refine_hole.main visitor_callback_optional: Default_visitor substituted; 6-edge hex hole; start/end_refine_phase no-ops (Branch 4)", 101 "assertions": [ 102 { 103 "kind": "edge_shared_by_n_triangles", 104 "edge": [ 105 0, 106 1 107 ], 108 "n": 1 109 }, 110 { 111 "kind": "edge_shared_by_n_triangles", 112 "edge": [ 113 1, 114 2 115 ], 116 "n": 1 117 }, 118 { 119 "kind": "edge_shared_by_n_triangles", 120 "edge": [ 121 2, 122 3 123 ], 124 "n": 1 125 }, 126 { 127 "kind": "edge_shared_by_n_triangles", 128 "edge": [ 129 3, 130 4 131 ], 132 "n": 1 133 }, 134 { 135 "kind": "edge_shared_by_n_triangles", 136 "edge": [ 137 4, 138 5 139 ], 140 "n": 1 141 }, 142 { 143 "kind": "edge_shared_by_n_triangles", 144 "edge": [ 145 0, 146 5 147 ], 148 "n": 1 149 }, 150 { 151 "kind": "edge_shared_by_n_triangles", 152 "edge": [ 153 0, 154 6 155 ], 156 "n": 1 157 }, 158 { 159 "kind": "edge_shared_by_n_triangles", 160 "edge": [ 161 1, 162 6 163 ], 164 "n": 1 165 }, 166 { 167 "kind": "edge_shared_by_n_triangles", 168 "edge": [ 169 1, 170 7 171 ], 172 "n": 1 173 }, 174 { 175 "kind": "edge_shared_by_n_triangles", 176 "edge": [ 177 2, 178 7 179 ], 180 "n": 1 181 }, 182 { 183 "kind": "edge_shared_by_n_triangles", 184 "edge": [ 185 2, 186 8 187 ], 188 "n": 1 189 }, 190 { 191 "kind": "edge_shared_by_n_triangles", 192 "edge": [ 193 3, 194 8 195 ], 196 "n": 1 197 }, 198 { 199 "kind": "edge_shared_by_n_triangles", 200 "edge": [ 201 3, 202 9 203 ], 204 "n": 1 205 }, 206 { 207 "kind": "edge_shared_by_n_triangles", 208 "edge": [ 209 4, 210 9 211 ], 212 "n": 1 213 }, 214 { 215 "kind": "edge_shared_by_n_triangles", 216 "edge": [ 217 4, 218 10 219 ], 220 "n": 1 221 }, 222 { 223 "kind": "edge_shared_by_n_triangles", 224 "edge": [ 225 5, 226 10 227 ], 228 "n": 1 229 }, 230 { 231 "kind": "edge_shared_by_n_triangles", 232 "edge": [ 233 5, 234 11 235 ], 236 "n": 1 237 }, 238 { 239 "kind": "edge_shared_by_n_triangles", 240 "edge": [ 241 0, 242 11 243 ], 244 "n": 1 245 }, 246 { 247 "kind": "hole_boundary", 248 "loop": [ 249 0, 250 1, 251 2, 252 3, 253 4, 254 5 255 ] 256 }, 257 { 258 "kind": "euler_characteristic", 259 "v": 12, 260 "e": 18, 261 "f": 6, 262 "chi": 0 263 } 264 ] 265 } 266}