mesh-examples/12-14-mesh/Me084.mesh.json
Sources
- MeshFix `checkAndRepair::checkConnectivity` Branch 6 (*ORPHANED_EDGE*)
- `MESH_HEAL_COVERAGE.md`.
Description
4 triangles form a 2×2 open quad strip. All boundary edges are incident on exactly 1 triangle — they have no opposite twin in the half-edge structure. In MeshFix, an edge with no incident triangles is a true orphan; boundary edges (t2==NULL) are the detectable analog. The single interior edge (v10,v11)=(1,4) is shared by 2 triangles; all 7 outer edges are boundary-only.
Reproducer recipe
6 vertices in 3×2 grid; 4 triangles in 2×2 arrangement (left and right quads each split on diagonal).
Expected kernel behavior
detect and flag all boundary edges; holeFilling can close boundary cycles if desired.
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 2.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 4 39 ], 40 [ 41 0, 42 4, 43 3 44 ], 45 [ 46 1, 47 2, 48 5 49 ], 50 [ 51 1, 52 5, 53 4 54 ] 55 ], 56 "metadata": { 57 "id": "Me084", 58 "schema_version": 0, 59 "defect_class": "open_boundary", 60 "title": "connectivity orphaned edge: open 2\u00d72 quad strip \u2014 9 boundary edges each incident on 1 triangle", 61 "assertions": [ 62 { 63 "kind": "edge_shared_by_n_triangles", 64 "edge": [ 65 1, 66 4 67 ], 68 "n": 2 69 }, 70 { 71 "kind": "edge_shared_by_n_triangles", 72 "edge": [ 73 0, 74 1 75 ], 76 "n": 1 77 }, 78 { 79 "kind": "edge_shared_by_n_triangles", 80 "edge": [ 81 1, 82 2 83 ], 84 "n": 1 85 }, 86 { 87 "kind": "edge_shared_by_n_triangles", 88 "edge": [ 89 3, 90 4 91 ], 92 "n": 1 93 }, 94 { 95 "kind": "edge_shared_by_n_triangles", 96 "edge": [ 97 4, 98 5 99 ], 100 "n": 1 101 }, 102 { 103 "kind": "edge_shared_by_n_triangles", 104 "edge": [ 105 0, 106 3 107 ], 108 "n": 1 109 }, 110 { 111 "kind": "edge_shared_by_n_triangles", 112 "edge": [ 113 2, 114 5 115 ], 116 "n": 1 117 }, 118 { 119 "kind": "hole_boundary", 120 "loop": [ 121 0, 122 1, 123 2, 124 5, 125 4, 126 3 127 ] 128 } 129 ] 130 } 131}