mesh-examples/12-14-mesh/Me089.mesh.json
Sources
- MeshFix `checkAndRepair::checkConnectivity` Branches 13 (*DISCONNECTED_TRIANGLE_EDGES*) and 15 (*NONMANIFOLD_VERTEX*)
- `MESH_HEAL_COVERAGE.md`.
Description
vertex v0 is a triple-bowtie (triple-pinch) vertex — its incident triangle fan is split into three disconnected components: an upper fan (t0 + t1, sharing edge (v0,v1)), a right fan (t2), and a lower fan (t3). Removing v0 disconnects the mesh into three pieces. MeshFix Branch 13 detects this when traversing a triangle's edge ring finds edges that don't share vertices as required; Branch 15 detects vertex non-manifoldness directly. Both fire here because the edge ring cannot be consistently linked.
Reproducer recipe
v0=(0,0,0); upper fan: v1–v3 with 2 triangles sharing (v0,v1); right fan: v4,v5 (1 triangle); lower fan: v6,v7 (1 triangle); all 4 triangles share only v0.
Expected kernel behavior
split v0 into 3 copies via duplicateNonManifoldVertices; one copy per fan.
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 0.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 2.0, 25 0.0, 26 0.0 27 ], 28 [ 29 2.0, 30 1.0, 31 0.0 32 ], 33 [ 34 0.0, 35 -1.0, 36 0.0 37 ], 38 [ 39 1.0, 40 -1.0, 41 0.0 42 ] 43 ], 44 "triangles": [ 45 [ 46 0, 47 1, 48 2 49 ], 50 [ 51 0, 52 3, 53 1 54 ], 55 [ 56 0, 57 4, 58 5 59 ], 60 [ 61 0, 62 6, 63 7 64 ] 65 ], 66 "metadata": { 67 "id": "Me089", 68 "schema_version": 0, 69 "defect_class": "non_manifold_vertex", 70 "title": "connectivity disconnected edges: triple-bowtie vertex v0 \u2014 3 disconnected triangle fans", 71 "assertions": [ 72 { 73 "kind": "edge_shared_by_n_triangles", 74 "edge": [ 75 0, 76 1 77 ], 78 "n": 2 79 }, 80 { 81 "kind": "edge_shared_by_n_triangles", 82 "edge": [ 83 0, 84 2 85 ], 86 "n": 1 87 }, 88 { 89 "kind": "edge_shared_by_n_triangles", 90 "edge": [ 91 0, 92 3 93 ], 94 "n": 1 95 }, 96 { 97 "kind": "edge_shared_by_n_triangles", 98 "edge": [ 99 0, 100 4 101 ], 102 "n": 1 103 }, 104 { 105 "kind": "edge_shared_by_n_triangles", 106 "edge": [ 107 0, 108 5 109 ], 110 "n": 1 111 }, 112 { 113 "kind": "edge_shared_by_n_triangles", 114 "edge": [ 115 0, 116 6 117 ], 118 "n": 1 119 }, 120 { 121 "kind": "edge_shared_by_n_triangles", 122 "edge": [ 123 0, 124 7 125 ], 126 "n": 1 127 }, 128 { 129 "kind": "vertex_fan_disconnected", 130 "vertex": 0 131 } 132 ] 133 } 134}