mesh-examples/12-14-mesh/Me074.mesh.json
Sources
- CGAL `PMP.Polygon_soup_orienter.duplicate_singular_vertices` Branch 2 (*vertex_iteration*), Branch 10 (*point_duplication_loop*)
- `MESH_HEAL_COVERAGE.md`.
Description
two geometrically separated bowtie vertices (v0 near origin, v7 near x=5) each have 2 link CCs. The vertex_iteration loop (Branch 2) visits both and marks both for duplication. The point_duplication_loop (Branch 10) processes both entries, creating 2 new duplicate points in total. The two bowties are completely independent.
Reproducer recipe
10 vertices; bowtie 1 centered at v0=(0,0,0) with 4 outer vertices; bowtie 2 centered at v7=(5,0,0) with 4 outer vertices; 4 triangles total (2 per bowtie).
Expected kernel behavior
split v0 and v7 each into 2 copies; 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 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 4.0, 30 1.0, 31 0.0 32 ], 33 [ 34 6.0, 35 1.0, 36 0.0 37 ], 38 [ 39 5.0, 40 0.0, 41 0.0 42 ], 43 [ 44 4.0, 45 -1.0, 46 0.0 47 ], 48 [ 49 6.0, 50 -1.0, 51 0.0 52 ] 53 ], 54 "triangles": [ 55 [ 56 0, 57 1, 58 2 59 ], 60 [ 61 0, 62 3, 63 4 64 ], 65 [ 66 7, 67 5, 68 6 69 ], 70 [ 71 7, 72 8, 73 9 74 ] 75 ], 76 "metadata": { 77 "id": "Me074", 78 "schema_version": 0, 79 "defect_class": "non_manifold_vertex", 80 "title": "duplicate_singular_vertices: two separate bowtie vertices in one mesh", 81 "assertions": [ 82 { 83 "kind": "edge_shared_by_n_triangles", 84 "edge": [ 85 0, 86 1 87 ], 88 "n": 1 89 }, 90 { 91 "kind": "edge_shared_by_n_triangles", 92 "edge": [ 93 0, 94 3 95 ], 96 "n": 1 97 }, 98 { 99 "kind": "edge_shared_by_n_triangles", 100 "edge": [ 101 5, 102 7 103 ], 104 "n": 1 105 }, 106 { 107 "kind": "edge_shared_by_n_triangles", 108 "edge": [ 109 7, 110 8 111 ], 112 "n": 1 113 }, 114 { 115 "kind": "vertex_fan_disconnected", 116 "vertex": 0 117 }, 118 { 119 "kind": "vertex_fan_disconnected", 120 "vertex": 7 121 } 122 ] 123 } 124}