mesh-examples/12-14-mesh/Me081.mesh.json
Sources
- MeshFix `checkAndRepair::checkConnectivity` Branch 2 (*NULL_EDGE_REFERENCE*)
- `MESH_HEAL_COVERAGE.md`.
Description
vertex 4 sits geometrically at the centroid (0.5, 0.5, 0) of the mesh but is not referenced by any triangle. In MeshFix's half-edge structure, such a vertex's e0 field is NULL — meaning no edge has been linked to it. Two triangles form the surrounding quad; v4 is an interior orphan.
Reproducer recipe
v0–v3 form a quad (2 triangles); v4=(0.5,0.5,0) at centroid, not used in any triangle.
Expected kernel behavior
detect and remove the orphan vertex; reindex.
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.0, 11 0.0 12 ], 13 [ 14 1.0, 15 1.0, 16 0.0 17 ], 18 [ 19 0.0, 20 1.0, 21 0.0 22 ], 23 [ 24 0.5, 25 0.5, 26 0.0 27 ] 28 ], 29 "triangles": [ 30 [ 31 0, 32 1, 33 2 34 ], 35 [ 36 0, 37 2, 38 3 39 ] 40 ], 41 "metadata": { 42 "id": "Me081", 43 "schema_version": 0, 44 "defect_class": "isolated_vertex", 45 "title": "connectivity null edge ref: interior orphan vertex v4 at centroid, no triangles reference it", 46 "assertions": [ 47 { 48 "kind": "isolated_vertex", 49 "vertex": 4 50 } 51 ] 52 } 53}