mesh-examples/12-14-mesh/Me266.mesh.json
Sources
- CGAL `PMP.remove_degenerate_edges.range_with_face_set` Branch 7 @ line 1741 (*nonmanifold_marked_region*: `nb_cc != 1`, `exploration_finished=false` → mark additional small components)
- `MESH_HEAL_COVERAGE.md`.
Description
A 6-triangle mesh where the degenerate edge (v0,v1) neighbourhood contains a bowtie vertex v4. When the initial marked face set is collected, the boundary of the marked region has a non-manifold vertex (v4 appears in two disconnected fans). Branch 7 detects nb_cc != 1 and expands the marked set to include the additional connected component adjacent to v4.
Reproducer recipe
v0=(0,0,0), v1=(1e-10,0,0), v4=(1,0,0) bowtie. t0=(v0,v1,v2), t1=(v1,v3,v2), t2=(v1,v4,v3) (upper fan), t3=(v1,v0,v5), t4=(v0,v6,v5), t5=(v4,v6,v0) (lower fan — v4 not edge-connected to upper).
Expected kernel behavior
nb_cc != 1 in marked region boundary; expand marked_faces to include small components adjacent to bowtie vertex v4.
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 1e-10, 10 0.0, 11 0.0 12 ], 13 [ 14 0.0, 15 1.0, 16 0.0 17 ], 18 [ 19 1.0, 20 1.0, 21 0.0 22 ], 23 [ 24 1.0, 25 0.0, 26 0.0 27 ], 28 [ 29 0.0, 30 -1.0, 31 0.0 32 ], 33 [ 34 1.0, 35 -1.0, 36 0.0 37 ] 38 ], 39 "triangles": [ 40 [ 41 0, 42 1, 43 2 44 ], 45 [ 46 1, 47 3, 48 2 49 ], 50 [ 51 1, 52 4, 53 3 54 ], 55 [ 56 1, 57 0, 58 5 59 ], 60 [ 61 0, 62 6, 63 5 64 ], 65 [ 66 4, 67 6, 68 0 69 ] 70 ], 71 "metadata": { 72 "id": "Me266", 73 "schema_version": 0, 74 "defect_class": "degenerate_edge", 75 "title": "range_with_face_set nonmanifold_marked_region: bowtie vertex in degenerate-edge neighbourhood triggers nb_cc!=1 expansion", 76 "assertions": [ 77 { 78 "kind": "vertex_fan_disconnected", 79 "vertex": 4 80 }, 81 { 82 "kind": "edge_shared_by_n_triangles", 83 "edge": [ 84 0, 85 1 86 ], 87 "n": 2 88 }, 89 { 90 "kind": "vertex_pair_distance_lt", 91 "pair": [ 92 0, 93 1 94 ], 95 "lt": 1e-09 96 } 97 ] 98 } 99}