mesh-examples/12-14-mesh/Me022.mesh.json
Sources
- CGAL `PMP.remove_self_intersections` Branch 11 @ line 2264 (*topology-genus-classification*)
- `MESH_HEAL_COVERAGE.md`.
Description
a ring of 6 triangles forms an annular band with two boundary loops (inner at r=0.5, outer at r=1.5). Euler characteristic χ = V−E+F = 6−12+6 = 0 (not 1; not a disk). An intruding 7th triangle self-intersects the ring by passing through the centroid of tri 0. The SI removal expansion includes the whole ring, whose non-disk topology triggers the complex-topology handler branch.
Reproducer recipe
6 inner/outer vertex pairs at 120° intervals; 6 ring triangles; 1 intruder whose apex is at the centroid of tri 0 spanning z=±1.
Expected kernel behavior
detect euler_characteristic_of_selection ≠ 1; route to handle_CC_with_complex_topology rather than simple hole-fill.
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.5, 5 0.0, 6 0.0 7 ], 8 [ 9 1.5, 10 0.0, 11 0.0 12 ], 13 [ 14 -0.24999999999999992, 15 0.43301270189221935, 16 0.0 17 ], 18 [ 19 -0.7499999999999998, 20 1.299038105676658, 21 0.0 22 ], 23 [ 24 -0.2500000000000002, 25 -0.4330127018922192, 26 0.0 27 ], 28 [ 29 -0.7500000000000007, 30 -1.2990381056766576, 31 0.0 32 ], 33 [ 34 0.4166666666666667, 35 0.43333333333333335, 36 1.0 37 ], 38 [ 39 0.4166666666666667, 40 0.43333333333333335, 41 -1.0 42 ], 43 [ 44 1.4166666666666667, 45 0.43333333333333335, 46 0.0 47 ] 48 ], 49 "triangles": [ 50 [ 51 0, 52 1, 53 3 54 ], 55 [ 56 0, 57 3, 58 2 59 ], 60 [ 61 2, 62 3, 63 5 64 ], 65 [ 66 2, 67 5, 68 4 69 ], 70 [ 71 4, 72 5, 73 1 74 ], 75 [ 76 4, 77 1, 78 0 79 ], 80 [ 81 6, 82 7, 83 8 84 ] 85 ], 86 "metadata": { 87 "id": "Me022", 88 "schema_version": 0, 89 "defect_class": "self_intersection_ring_topology", 90 "title": "SI in annular ring (chi=0 topology): complex-topology handler branch", 91 "assertions": [ 92 { 93 "kind": "triangles_self_intersect", 94 "triangles": [ 95 0, 96 6 97 ] 98 }, 99 { 100 "kind": "edge_shared_by_n_triangles", 101 "edge": [ 102 0, 103 3 104 ], 105 "n": 2 106 } 107 ] 108 } 109}