mesh-examples/12-14-mesh/Me075.mesh.json
Sources
- CGAL `PMP.Polygon_soup_orienter.duplicate_singular_vertices` Branch 3 (*isolated_vertex_skip*), Branch 5 (*non_manifold_vertex*)
- `MESH_HEAL_COVERAGE.md`.
Description
vertex 0 is a singular bowtie vertex (2 link CCs) and vertex 5 is an isolated vertex not referenced by any triangle. When the algorithm iterates over vertices (Branch 2) and reaches v5, its incident-polygon list is empty, so Branch 3 (*isolated_vertex_skip*: `if (incident_polygons.empty()) continue`) fires and v5 is skipped. Meanwhile v0 is correctly marked for duplication.
Reproducer recipe
6 vertices; 2 triangles forming a bowtie at v0; v5=(3,0,0) is not referenced by any triangle.
Expected kernel behavior
split v0; leave v5 in place (isolated vertex handling is a separate concern); total vertex count increases by 1.
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 -1.0, 21 0.0 22 ], 23 [ 24 -1.0, 25 -1.0, 26 0.0 27 ], 28 [ 29 3.0, 30 0.0, 31 0.0 32 ] 33 ], 34 "triangles": [ 35 [ 36 0, 37 1, 38 2 39 ], 40 [ 41 0, 42 3, 43 4 44 ] 45 ], 46 "metadata": { 47 "id": "Me075", 48 "schema_version": 0, 49 "defect_class": "non_manifold_vertex", 50 "title": "duplicate_singular_vertices: bowtie vertex plus isolated (unreferenced) neighbor vertex", 51 "assertions": [ 52 { 53 "kind": "edge_shared_by_n_triangles", 54 "edge": [ 55 0, 56 1 57 ], 58 "n": 1 59 }, 60 { 61 "kind": "edge_shared_by_n_triangles", 62 "edge": [ 63 0, 64 3 65 ], 66 "n": 1 67 }, 68 { 69 "kind": "vertex_fan_disconnected", 70 "vertex": 0 71 }, 72 { 73 "kind": "isolated_vertex", 74 "vertex": 5 75 } 76 ] 77 } 78}