mesh-examples/12-14-mesh/Me405.mesh.json
Sources
- CGAL PMP `PMP.internal.detect_identical_mergeable_vertices` Branch 6 (*interval_sanitation*: `if(!sanitize_candidates(candidate_hedges_with_id)) continue`)
- `MESH_HEAL_COVERAGE.md`.
Description
Five triangles (fan from c6 apex) with a single octagonal boundary cycle. Two separate coincident-vertex groups: Group A (c1 and c4 both at (1,0,0)) and Group B (c2 and c5 both at (2,0,0)). The cycle also visits c0 (0,0,0), c3 (3,0,0), and c6 (apex). After collecting both groups, sanitize_candidates is called to check for overlapping intervals → Branch 6 fires. Interior edges (c6,c1),(c6,c2),(c6,c3),(c6,c4) n=2; seven boundary edges n=1. Euler: V=7, E=11, F=5, chi=1.
Reproducer recipe
c0=(0,0,0), c1=(1,0,0), c2=(2,0,0), c3=(3,0,0), c4=(1,0,0) [=c1], c5=(2,0,0) [=c2], c6=(1.5,2,0); t0=(c6,c0,c1), t1=(c6,c1,c2), t2=(c6,c2,c3), t3=(c6,c3,c4), t4=(c6,c4,c5); two coincident pairs on boundary; euler V=7,E=11,F=5,chi=1.
Expected kernel behavior
Branch 6 fires; sanitize_candidates evaluates whether Group A and Group B intervals are disjoint (they are, so both survive); hedges_with_identical_point_target populated for both groups.
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 3.0, 20 0.0, 21 0.0 22 ], 23 [ 24 1.0, 25 0.0, 26 0.0 27 ], 28 [ 29 2.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": "Me405", 68 "schema_version": 0, 69 "defect_class": "near_coincident_vertex", 70 "title": "detect_identical_mergeable_vertices interval_sanitation: two coincident groups (c1==c4 at (1,0,0), c2==c5 at (2,0,0)) in same boundary cycle; sanitize_candidates invoked (Branch 6)", 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 4 165 ], 166 "lt": 1e-09 167 }, 168 { 169 "kind": "vertex_pair_no_shared_triangle", 170 "pair": [ 171 1, 172 4 173 ] 174 }, 175 { 176 "kind": "vertex_pair_distance_lt", 177 "pair": [ 178 2, 179 5 180 ], 181 "lt": 1e-09 182 }, 183 { 184 "kind": "vertex_pair_no_shared_triangle", 185 "pair": [ 186 2, 187 5 188 ] 189 }, 190 { 191 "kind": "euler_characteristic", 192 "v": 7, 193 "e": 11, 194 "f": 5, 195 "chi": 1 196 } 197 ] 198 } 199}