mesh-examples/12-14-mesh/Me491.mesh.json
Sources
- CGAL PMP `PMP.internal.sanitize_candidates` Branch 2 (*outer_group_iteration*: `for(std::size_t fr_id=0, fr_end=nm_vertices_n-1
- fr_id != fr_end
- ++fr_id)`)
- `MESH_HEAL_COVERAGE.md`.
Description
Five-triangle open fan from apex f6=(1.5,2,0); boundary cycle visits f0(0,0,0),f1(1,0,0),f2(2,0,0),f3(1,0,0),f4(2,0,0),f5(3,0,0). Two disjoint coincident groups: Group A (f1==f3 at (1,0,0)) and Group B (f2==f4 at (2,0,0)). Sorted index intervals are [i,i+1] and [j,j+1] with j > i+1 so no overlap; both survive. The outer for-loop executes for fr_id=0 (Group A) → Branch 2 fires. Interior spokes (f6,f1),(f6,f2),(f6,f3),(f6,f4) n=2; seven outer edges n=1. Euler: V=7, E=11, F=5, chi=1.
Reproducer recipe
f0=(0,0,0), f1=(1,0,0), f2=(2,0,0), f3=(1,0,0) [=f1], f4=(2,0,0) [=f2], f5=(3,0,0), f6=(1.5,2,0); t0=(f6,f0,f1), t1=(f6,f1,f2), t2=(f6,f2,f3), t3=(f6,f3,f4), t4=(f6,f4,f5); vertex_pair_distance_lt for both groups; euler V=7,E=11,F=5,chi=1.
Expected kernel behavior
Branch 2 fires; outer loop executes for fr_id=0; two disjoint groups both survive sanitization.
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 2.0, 15 0.0, 16 0.0 17 ], 18 [ 19 1.0, 20 0.0, 21 0.0 22 ], 23 [ 24 2.0, 25 0.0, 26 0.0 27 ], 28 [ 29 3.0, 30 0.0, 31 0.0 32 ], 33 [ 34 1.5, 35 2.0, 36 0.0 37 ] 38 ], 39 "triangles": [ 40 [ 41 6, 42 0, 43 1 44 ], 45 [ 46 6, 47 1, 48 2 49 ], 50 [ 51 6, 52 2, 53 3 54 ], 55 [ 56 6, 57 3, 58 4 59 ], 60 [ 61 6, 62 4, 63 5 64 ] 65 ], 66 "metadata": { 67 "id": "Me491", 68 "schema_version": 0, 69 "defect_class": "near_coincident_vertex", 70 "title": "sanitize_candidates outer_group_iteration: two disjoint coincident groups (f1==f3 at (1,0,0), f2==f4 at (2,0,0)); outer for-loop fires for fr_id=0 (Branch 2)", 71 "assertions": [ 72 { 73 "kind": "edge_shared_by_n_triangles", 74 "edge": [ 75 1, 76 6 77 ], 78 "n": 2 79 }, 80 { 81 "kind": "edge_shared_by_n_triangles", 82 "edge": [ 83 2, 84 6 85 ], 86 "n": 2 87 }, 88 { 89 "kind": "edge_shared_by_n_triangles", 90 "edge": [ 91 3, 92 6 93 ], 94 "n": 2 95 }, 96 { 97 "kind": "edge_shared_by_n_triangles", 98 "edge": [ 99 4, 100 6 101 ], 102 "n": 2 103 }, 104 { 105 "kind": "edge_shared_by_n_triangles", 106 "edge": [ 107 0, 108 6 109 ], 110 "n": 1 111 }, 112 { 113 "kind": "edge_shared_by_n_triangles", 114 "edge": [ 115 5, 116 6 117 ], 118 "n": 1 119 }, 120 { 121 "kind": "edge_shared_by_n_triangles", 122 "edge": [ 123 0, 124 1 125 ], 126 "n": 1 127 }, 128 { 129 "kind": "edge_shared_by_n_triangles", 130 "edge": [ 131 1, 132 2 133 ], 134 "n": 1 135 }, 136 { 137 "kind": "edge_shared_by_n_triangles", 138 "edge": [ 139 2, 140 3 141 ], 142 "n": 1 143 }, 144 { 145 "kind": "edge_shared_by_n_triangles", 146 "edge": [ 147 3, 148 4 149 ], 150 "n": 1 151 }, 152 { 153 "kind": "edge_shared_by_n_triangles", 154 "edge": [ 155 4, 156 5 157 ], 158 "n": 1 159 }, 160 { 161 "kind": "vertex_pair_distance_lt", 162 "pair": [ 163 1, 164 3 165 ], 166 "lt": 1e-09 167 }, 168 { 169 "kind": "vertex_pair_no_shared_triangle", 170 "pair": [ 171 1, 172 3 173 ] 174 }, 175 { 176 "kind": "vertex_pair_distance_lt", 177 "pair": [ 178 2, 179 4 180 ], 181 "lt": 1e-09 182 }, 183 { 184 "kind": "vertex_pair_no_shared_triangle", 185 "pair": [ 186 2, 187 4 188 ] 189 }, 190 { 191 "kind": "euler_characteristic", 192 "v": 7, 193 "e": 11, 194 "f": 5, 195 "chi": 1 196 } 197 ] 198 } 199}