mesh-examples/12-14-mesh/Me101.mesh.json
Sources
- MeshFix `Basic_TMesh.unlinkTriangle` Branch 2 (*vertex_manifold_check_v2*: `if (v2->isOnBoundary())`)
- `MESH_HEAL_COVERAGE.md`.
Description
vertex 2 (second vertex of target t0) is a boundary vertex with an open fan ring, yet both its incident edges in t0 are interior. Same non-manifold singularity as Me100 but for the second vertex position. Branch 2 catches this and sets the v2nm flag for later duplication.
Reproducer recipe
v0=(0,0,0), v1=(2,0,0), v2=(1,0,0), v3=(0,1,0), v4=(1,1,0), v5=(2,1,0). t0=(v0,v1,v2); t1=(v0,v4,v2); t2=(v1,v2,v5); t3=(v0,v3,v4); t4=(v4,v5,v2).
Expected kernel behavior
detect v2 non-manifold singularity; duplicate v2 before performing the triangle removal.
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 2.0, 10 0.0, 11 0.0 12 ], 13 [ 14 1.0, 15 0.0, 16 0.0 17 ], 18 [ 19 0.0, 20 1.0, 21 0.0 22 ], 23 [ 24 1.0, 25 1.0, 26 0.0 27 ], 28 [ 29 2.0, 30 1.0, 31 0.0 32 ] 33 ], 34 "triangles": [ 35 [ 36 0, 37 1, 38 2 39 ], 40 [ 41 0, 42 4, 43 2 44 ], 45 [ 46 1, 47 2, 48 5 49 ], 50 [ 51 0, 52 3, 53 4 54 ], 55 [ 56 4, 57 5, 58 2 59 ] 60 ], 61 "metadata": { 62 "id": "Me101", 63 "schema_version": 0, 64 "defect_class": "unlink_vertex_manifold_v2", 65 "title": "unlink_triangle_v2_boundary_non_manifold: v2 on boundary but both incident edges non-boundary", 66 "assertions": [ 67 { 68 "kind": "edge_shared_by_n_triangles", 69 "edge": [ 70 0, 71 2 72 ], 73 "n": 2 74 }, 75 { 76 "kind": "edge_shared_by_n_triangles", 77 "edge": [ 78 1, 79 2 80 ], 81 "n": 2 82 }, 83 { 84 "kind": "edge_shared_by_n_triangles", 85 "edge": [ 86 0, 87 1 88 ], 89 "n": 1 90 }, 91 { 92 "kind": "edge_shared_by_n_triangles", 93 "edge": [ 94 3, 95 4 96 ], 97 "n": 1 98 }, 99 { 100 "kind": "edge_shared_by_n_triangles", 101 "edge": [ 102 4, 103 5 104 ], 105 "n": 1 106 } 107 ] 108 } 109}