mesh-examples/12-14-mesh/Me102.mesh.json
Sources
- MeshFix `Basic_TMesh.unlinkTriangle` Branch 3 (*vertex_manifold_check_v3*: `if (v3->isOnBoundary())`)
- `MESH_HEAL_COVERAGE.md`.
Description
vertex 2 (the apex / third vertex of target t0) is a boundary vertex with an open fan ring, yet both its lateral edges in t0 are interior. Branch 3 detects the v3 non-manifold condition — mirror of Branches 1 and 2 but for the third vertex of the triangle.
Reproducer recipe
v0=(0,0,0), v1=(2,0,0), v2=(1,1,0), v3c=(0,2,0), v3d=(2,2,0). t0=(v0,v1,v2), t1=(v0,v2,v3c), t2=(v1,v3d,v2), t3=(v0,v3c,v3d).
Expected kernel behavior
detect apex vertex non-manifold singularity; duplicate v3 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 1.0, 16 0.0 17 ], 18 [ 19 0.0, 20 2.0, 21 0.0 22 ], 23 [ 24 2.0, 25 2.0, 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 1, 42 4, 43 2 44 ], 45 [ 46 0, 47 3, 48 4 49 ] 50 ], 51 "metadata": { 52 "id": "Me102", 53 "schema_version": 0, 54 "defect_class": "unlink_vertex_manifold_v3", 55 "title": "unlink_triangle_v3_boundary_non_manifold: apex vertex on boundary but both incident edges non-boundary", 56 "assertions": [ 57 { 58 "kind": "edge_shared_by_n_triangles", 59 "edge": [ 60 0, 61 2 62 ], 63 "n": 2 64 }, 65 { 66 "kind": "edge_shared_by_n_triangles", 67 "edge": [ 68 1, 69 2 70 ], 71 "n": 2 72 }, 73 { 74 "kind": "edge_shared_by_n_triangles", 75 "edge": [ 76 0, 77 1 78 ], 79 "n": 1 80 }, 81 { 82 "kind": "edge_shared_by_n_triangles", 83 "edge": [ 84 0, 85 3 86 ], 87 "n": 2 88 }, 89 { 90 "kind": "edge_shared_by_n_triangles", 91 "edge": [ 92 1, 93 4 94 ], 95 "n": 1 96 }, 97 { 98 "kind": "edge_shared_by_n_triangles", 99 "edge": [ 100 3, 101 4 102 ], 103 "n": 1 104 } 105 ] 106 } 107}