mesh-examples/12-14-mesh/Me217.mesh.json
Sources
- MeshFix `Basic_TMesh.cutAndStitch` Branch 8 (*UNBOUNDED_SINGULAR_CHAIN*: `if (e1->isLinked()) pinch(e1, false)`)
- `MESH_HEAL_COVERAGE.md`.
Description
A square-frame mesh has a square hole (v4,v5,v6,v7) forming a closed cyclic boundary with no endpoints. After bounded pinches, remaining linked singular edges in unbounded cycles are pinched with with_common_vertex=false. The hole_boundary assertion confirms the loop is a pure cycle. Geometry: 8-triangle frame around inner hole.
Reproducer recipe
triangulated frame with square hole; hole_boundary loop=[4,5,6,7].
Expected kernel behavior
pinch(e1, false) called for each edge in the unbounded cyclic chain.
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 3.0, 10 0.0, 11 0.0 12 ], 13 [ 14 3.0, 15 3.0, 16 0.0 17 ], 18 [ 19 0.0, 20 3.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 2.0, 35 2.0, 36 0.0 37 ], 38 [ 39 1.0, 40 2.0, 41 0.0 42 ] 43 ], 44 "triangles": [ 45 [ 46 0, 47 1, 48 5 49 ], 50 [ 51 0, 52 5, 53 4 54 ], 55 [ 56 1, 57 2, 58 6 59 ], 60 [ 61 1, 62 6, 63 5 64 ], 65 [ 66 2, 67 3, 68 7 69 ], 70 [ 71 2, 72 7, 73 6 74 ], 75 [ 76 3, 77 0, 78 4 79 ], 80 [ 81 3, 82 4, 83 7 84 ] 85 ], 86 "metadata": { 87 "id": "Me217", 88 "schema_version": 0, 89 "defect_class": "hole_in_hull", 90 "title": "cutAndStitch_unbounded_singular_chain: closed hole boundary pinched from interior (with_common_vertex=false)", 91 "assertions": [ 92 { 93 "kind": "hole_boundary", 94 "loop": [ 95 4, 96 5, 97 6, 98 7 99 ] 100 }, 101 { 102 "kind": "edge_shared_by_n_triangles", 103 "edge": [ 104 0, 105 1 106 ], 107 "n": 1 108 }, 109 { 110 "kind": "edge_shared_by_n_triangles", 111 "edge": [ 112 1, 113 2 114 ], 115 "n": 1 116 }, 117 { 118 "kind": "edge_shared_by_n_triangles", 119 "edge": [ 120 2, 121 3 122 ], 123 "n": 1 124 }, 125 { 126 "kind": "edge_shared_by_n_triangles", 127 "edge": [ 128 0, 129 3 130 ], 131 "n": 1 132 } 133 ] 134 } 135}