mesh-examples/12-14-mesh/Me017.mesh.json
Sources
- CGAL `PMP.remove_self_intersections` Branch 2 @ line 2383 (*treatment-scope-selection*)
- `MESH_HEAL_COVERAGE.md`.
Description
two fully disconnected connected components with no shared vertices. CC A (triangles 0,1) has an internal self-intersection: XY triangle 0 and XZ triangle 1 cross along the X axis. CC B (triangles 2,3) is a clean flat quad 50 units away. The treat_all_CCs parameter controls whether CC B is also processed or skipped because it has no internal SI.
Reproducer recipe
CC A = crossing XY/XZ triangles sharing apex at origin; CC B = clean quad at y=50. No shared vertices between CCs.
Expected kernel behavior
detect SI only in CC A; when treat_all_CCs=false, skip CC B; when true, also validate CC 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 1.0, 10 1.0, 11 0.0 12 ], 13 [ 14 1.0, 15 -1.0, 16 0.0 17 ], 18 [ 19 1.0, 20 0.0, 21 1.0 22 ], 23 [ 24 1.0, 25 0.0, 26 -1.0 27 ], 28 [ 29 0.0, 30 50.0, 31 0.0 32 ], 33 [ 34 1.0, 35 50.0, 36 0.0 37 ], 38 [ 39 1.0, 40 51.0, 41 0.0 42 ], 43 [ 44 0.0, 45 51.0, 46 0.0 47 ] 48 ], 49 "triangles": [ 50 [ 51 0, 52 1, 53 2 54 ], 55 [ 56 0, 57 3, 58 4 59 ], 60 [ 61 5, 62 6, 63 7 64 ], 65 [ 66 5, 67 7, 68 8 69 ] 70 ], 71 "metadata": { 72 "id": "Me017", 73 "schema_version": 0, 74 "defect_class": "self_intersection_multi_cc", 75 "title": "SI in CC-A only; clean CC-B disconnected: treat_all_CCs decision", 76 "assertions": [ 77 { 78 "kind": "triangles_self_intersect", 79 "triangles": [ 80 0, 81 1 82 ] 83 }, 84 { 85 "kind": "triangle_not_reachable_from", 86 "target": 2, 87 "source": 0 88 } 89 ] 90 } 91}