mesh-examples/12-14-mesh/Me862.mesh.json
Sources
- MeshFix `Basic_TMesh.strongIntersectionRemoval` Branch 3 @ line 383 (*Selection-growth depth*: `for (n=1...) growSelection` ring expansion)
- `MESH_HEAL_COVERAGE.md`.
Description
triangles 0 and 1 form a core SI pair (base in XY plane + intruder spanning z=±1.5). Triangles 2–5 form a first-ring belt of 4 triangles sharing edges with triangle 0. Triangles 6–9 form a second-ring belt sharing edges with the first ring. The multi-ring surrounding belt means a single `growSelection(1)` call does not capture enough context; the growth must reach ring 2 (n=2) before the selected region is large enough for repair. On each successive repair pass n is incremented, exercising Branch 3.
Reproducer recipe
core pair at origin; ring-1 = 4 triangles sharing each edge of tri 0; ring-2 = 4 triangles extending from ring-1 outward; edge (v0,v1) shared by 3 triangles (tris 0, 2, 5); ring-boundary edges shared by exactly 2 triangles.
Expected kernel behavior
first pass growSelection(n=1) captures ring-1 but insufficient; second pass growSelection(n=2) captures ring-2; with fuller context selection the repair proceeds.
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 2.0, 16 0.0 17 ], 18 [ 19 1.0, 20 0.7, 21 1.5 22 ], 23 [ 24 1.0, 25 0.7, 26 -1.5 27 ], 28 [ 29 2.5, 30 0.7, 31 0.0 32 ], 33 [ 34 -1.0, 35 0.0, 36 0.0 37 ], 38 [ 39 3.0, 40 0.0, 41 0.0 42 ], 43 [ 44 1.0, 45 -2.0, 46 0.0 47 ], 48 [ 49 -0.5, 50 2.5, 51 0.0 52 ], 53 [ 54 2.5, 55 2.5, 56 0.0 57 ], 58 [ 59 -2.0, 60 0.0, 61 0.0 62 ], 63 [ 64 4.0, 65 0.0, 66 0.0 67 ], 68 [ 69 1.0, 70 -4.0, 71 0.0 72 ], 73 [ 74 -1.5, 75 4.0, 76 0.0 77 ], 78 [ 79 3.5, 80 4.0, 81 0.0 82 ] 83 ], 84 "triangles": [ 85 [ 86 0, 87 1, 88 2 89 ], 90 [ 91 3, 92 4, 93 5 94 ], 95 [ 96 0, 97 6, 98 1 99 ], 100 [ 101 1, 102 7, 103 2 104 ], 105 [ 106 2, 107 9, 108 0 109 ], 110 [ 111 0, 112 8, 113 1 114 ], 115 [ 116 6, 117 11, 118 1 119 ], 120 [ 121 7, 122 12, 123 2 124 ], 125 [ 126 9, 127 14, 128 0 129 ], 130 [ 131 8, 132 13, 133 1 134 ] 135 ], 136 "metadata": { 137 "id": "Me862", 138 "schema_version": 0, 139 "defect_class": "self_intersection", 140 "title": "strongIntersectionRemoval selection-growth depth: multi-ring growSelection expansion (Branch 3)", 141 "assertions": [ 142 { 143 "kind": "triangles_self_intersect", 144 "triangles": [ 145 0, 146 1 147 ] 148 }, 149 { 150 "kind": "edge_shared_by_n_triangles", 151 "edge": [ 152 0, 153 1 154 ], 155 "n": 3 156 }, 157 { 158 "kind": "edge_shared_by_n_triangles", 159 "edge": [ 160 1, 161 6 162 ], 163 "n": 2 164 }, 165 { 166 "kind": "edge_shared_by_n_triangles", 167 "edge": [ 168 2, 169 7 170 ], 171 "n": 2 172 } 173 ] 174 } 175}