mesh-examples/12-14-mesh/Me213.mesh.json
Sources
- MeshFix `Basic_TMesh.cutAndStitch` Branch 4 (*NON_MANIFOLD_VERTICES*: `duplicateNonManifoldVertices()`)
- `MESH_HEAL_COVERAGE.md`.
Description
After orientation pass, vertex v0 is still singular (bowtie): upper fan t0=(v0,v1,v2) and lower fan t1=(v0,v3,v4) share only v0 with no shared edge. cutAndStitch calls duplicateNonManifoldVertices() to split v0 into two copies. Geometry: v0=(0,0,0), v1=(1,1,0), v2=(-1,1,0), v3=(1,-1,0), v4=(-1,-1,0).
Reproducer recipe
classic bowtie at v0; vertex_fan_disconnected assertion.
Expected kernel behavior
duplicateNonManifoldVertices() splits v0 into two boundary-safe copies.
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 "triangles": [ 30 [ 31 0, 32 1, 33 2 34 ], 35 [ 36 0, 37 3, 38 4 39 ] 40 ], 41 "metadata": { 42 "id": "Me213", 43 "schema_version": 0, 44 "defect_class": "non_manifold_vertex", 45 "title": "cutAndStitch_non_manifold_vertices: bowtie vertex requiring duplicateNonManifoldVertices()", 46 "assertions": [ 47 { 48 "kind": "edge_shared_by_n_triangles", 49 "edge": [ 50 0, 51 1 52 ], 53 "n": 1 54 }, 55 { 56 "kind": "edge_shared_by_n_triangles", 57 "edge": [ 58 0, 59 2 60 ], 61 "n": 1 62 }, 63 { 64 "kind": "edge_shared_by_n_triangles", 65 "edge": [ 66 0, 67 3 68 ], 69 "n": 1 70 }, 71 { 72 "kind": "edge_shared_by_n_triangles", 73 "edge": [ 74 0, 75 4 76 ], 77 "n": 1 78 }, 79 { 80 "kind": "vertex_fan_disconnected", 81 "vertex": 0 82 } 83 ] 84 } 85}