mesh-examples/12-14-mesh/Me932.mesh.json
Sources
- CGAL PMP `PMP.orient (main dispatcher)` Branch 3 (*self-intersecting-pair-detection*: `if(does_self_intersect(...)) self_intersecting_cc.insert(cc_id)` @ line 1001)
- `MESH_HEAL_COVERAGE.md`.
Description
Two closed components. Component A is a clean tetrahedron. Component B is a closed 8-face shell where face t4 (in the Y=0 plane) is genuinely pierced by face t5 (straddling Y=0, with vertices at Y=-1 and Y=+1). does_self_intersect returns true for Component B, so Branch 3 fires and it is inserted into self_intersecting_cc, skipping the nesting orientation test.
Reproducer recipe
Component A: clean tetra a0-a3; Component B: 8-face closed shell b0-b5 with t4 and t5 piercing each other; B unreachable from A; assert triangles_self_intersect([4,5]); euler V=10, E=18, F=12, chi=4.
Expected kernel behavior
Branch 3 fires; does_self_intersect(Component B) returns true; Component B inserted into self_intersecting_cc; orientation-by-nesting skipped for Component B.
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 2.0, 16 0.0 17 ], 18 [ 19 1.0, 20 1.0, 21 1.0 22 ], 23 [ 24 5.0, 25 0.0, 26 0.0 27 ], 28 [ 29 7.0, 30 0.0, 31 0.0 32 ], 33 [ 34 6.0, 35 0.0, 36 2.0 37 ], 38 [ 39 6.0, 40 -1.0, 41 0.0 42 ], 43 [ 44 6.0, 45 1.0, 46 0.0 47 ], 48 [ 49 5.0, 50 0.0, 51 2.0 52 ] 53 ], 54 "triangles": [ 55 [ 56 0, 57 1, 58 2 59 ], 60 [ 61 0, 62 3, 63 1 64 ], 65 [ 66 1, 67 3, 68 2 69 ], 70 [ 71 0, 72 2, 73 3 74 ], 75 [ 76 4, 77 5, 78 6 79 ], 80 [ 81 7, 82 8, 83 9 84 ], 85 [ 86 4, 87 5, 88 8 89 ], 90 [ 91 4, 92 8, 93 7 94 ], 95 [ 96 5, 97 6, 98 9 99 ], 100 [ 101 5, 102 9, 103 8 104 ], 105 [ 106 4, 107 9, 108 6 109 ], 110 [ 111 4, 112 7, 113 9 114 ] 115 ], 116 "metadata": { 117 "id": "Me932", 118 "schema_version": 0, 119 "defect_class": "self_intersection", 120 "title": "PMP.orient self-intersecting-pair-detection: Component B closed shell where t4 (Y=0 plane) is pierced by t5 (straddles Y=0); self_intersecting_cc.insert() fires (Branch 3)", 121 "assertions": [ 122 { 123 "kind": "edge_shared_by_n_triangles", 124 "edge": [ 125 0, 126 1 127 ], 128 "n": 2 129 }, 130 { 131 "kind": "edge_shared_by_n_triangles", 132 "edge": [ 133 0, 134 2 135 ], 136 "n": 2 137 }, 138 { 139 "kind": "edge_shared_by_n_triangles", 140 "edge": [ 141 1, 142 2 143 ], 144 "n": 2 145 }, 146 { 147 "kind": "edge_shared_by_n_triangles", 148 "edge": [ 149 0, 150 3 151 ], 152 "n": 2 153 }, 154 { 155 "kind": "edge_shared_by_n_triangles", 156 "edge": [ 157 1, 158 3 159 ], 160 "n": 2 161 }, 162 { 163 "kind": "edge_shared_by_n_triangles", 164 "edge": [ 165 2, 166 3 167 ], 168 "n": 2 169 }, 170 { 171 "kind": "edge_shared_by_n_triangles", 172 "edge": [ 173 4, 174 5 175 ], 176 "n": 2 177 }, 178 { 179 "kind": "edge_shared_by_n_triangles", 180 "edge": [ 181 4, 182 6 183 ], 184 "n": 2 185 }, 186 { 187 "kind": "edge_shared_by_n_triangles", 188 "edge": [ 189 5, 190 6 191 ], 192 "n": 2 193 }, 194 { 195 "kind": "edge_shared_by_n_triangles", 196 "edge": [ 197 7, 198 8 199 ], 200 "n": 2 201 }, 202 { 203 "kind": "edge_shared_by_n_triangles", 204 "edge": [ 205 7, 206 9 207 ], 208 "n": 2 209 }, 210 { 211 "kind": "edge_shared_by_n_triangles", 212 "edge": [ 213 8, 214 9 215 ], 216 "n": 2 217 }, 218 { 219 "kind": "edge_shared_by_n_triangles", 220 "edge": [ 221 4, 222 8 223 ], 224 "n": 2 225 }, 226 { 227 "kind": "edge_shared_by_n_triangles", 228 "edge": [ 229 5, 230 8 231 ], 232 "n": 2 233 }, 234 { 235 "kind": "edge_shared_by_n_triangles", 236 "edge": [ 237 5, 238 9 239 ], 240 "n": 2 241 }, 242 { 243 "kind": "edge_shared_by_n_triangles", 244 "edge": [ 245 6, 246 9 247 ], 248 "n": 2 249 }, 250 { 251 "kind": "edge_shared_by_n_triangles", 252 "edge": [ 253 4, 254 9 255 ], 256 "n": 2 257 }, 258 { 259 "kind": "edge_shared_by_n_triangles", 260 "edge": [ 261 4, 262 7 263 ], 264 "n": 2 265 }, 266 { 267 "kind": "triangle_not_reachable_from", 268 "target": 4, 269 "source": 0 270 }, 271 { 272 "kind": "triangles_self_intersect", 273 "triangles": [ 274 4, 275 5 276 ] 277 }, 278 { 279 "kind": "euler_characteristic", 280 "v": 10, 281 "e": 18, 282 "f": 12, 283 "chi": 4 284 } 285 ] 286 } 287}