mesh-examples/12-14-mesh/Me072.mesh.json
Sources
- CGAL `PMP.Polygon_soup_orienter.duplicate_singular_vertices` Branches 4–5 (*link_cc_count*: nb_link_ccs increments to 3
- *non_manifold_vertex*)
- `MESH_HEAL_COVERAGE.md`.
Description
vertex 0 has three completely disjoint triangle fans meeting at it (a triple bowtie). Fan A (z=0 half-plane), Fan B (−y half), Fan C (XZ plane). nb_link_ccs reaches 3 — beyond 2 — exercising the increment logic in Branch 4. After repair, 2 new duplicate points are created and 3 polygon references replaced.
Reproducer recipe
3 independent triangles all referencing v0=(0,0,0); outer vertices in three separate spatial half-spaces so no fan shares any edge with another.
Expected kernel behavior
split v0 into 3 copies; each fan gets its own vertex; total vertex count increases by 2.
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 0.5, 11 0.0 12 ], 13 [ 14 -1.0, 15 0.5, 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 1.0, 30 0.0, 31 1.0 32 ], 33 [ 34 -1.0, 35 0.0, 36 1.0 37 ] 38 ], 39 "triangles": [ 40 [ 41 0, 42 1, 43 2 44 ], 45 [ 46 0, 47 3, 48 4 49 ], 50 [ 51 0, 52 5, 53 6 54 ] 55 ], 56 "metadata": { 57 "id": "Me072", 58 "schema_version": 0, 59 "defect_class": "non_manifold_vertex", 60 "title": "duplicate_singular_vertices: triple-fan vertex \u2014 3 disjoint link CCs at v0", 61 "assertions": [ 62 { 63 "kind": "edge_shared_by_n_triangles", 64 "edge": [ 65 0, 66 1 67 ], 68 "n": 1 69 }, 70 { 71 "kind": "edge_shared_by_n_triangles", 72 "edge": [ 73 0, 74 3 75 ], 76 "n": 1 77 }, 78 { 79 "kind": "edge_shared_by_n_triangles", 80 "edge": [ 81 0, 82 5 83 ], 84 "n": 1 85 }, 86 { 87 "kind": "vertex_fan_disconnected", 88 "vertex": 0 89 } 90 ] 91 } 92}