mesh-examples/12-14-mesh/Me080.mesh.json
Sources
- MeshFix `checkAndRepair::checkConnectivity` Branch 1 (*NULL_VERTEX_ELEMENT*)
- `MESH_HEAL_COVERAGE.md`.
Description
vertex 4 is present in the vertex array at (5,5,5) but is not referenced by any triangle. In MeshFix's half-edge structure, such a vertex has a NULL e0 pointer — it was allocated but never connected. Two triangles form a valid quad; vertex 4 is a pure orphan with no incident edges.
Reproducer recipe
v0–v3 form a quad (2 triangles); v4=(5,5,5) added to vertex list but not used in any triangle.
Expected kernel behavior
detect and remove the orphan vertex; reindex remaining vertices.
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 5.0, 25 5.0, 26 5.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": "Me080", 43 "schema_version": 0, 44 "defect_class": "isolated_vertex", 45 "title": "connectivity null vertex: vertex 4 is orphan \u2014 not referenced by any triangle", 46 "assertions": [ 47 { 48 "kind": "isolated_vertex", 49 "vertex": 4 50 } 51 ] 52 } 53}