mesh-examples/12-14-mesh/Me622.mesh.json
Sources
- MeshFix `Basic_TMesh.removeRegion` Branch 3 (*neighbor_t3_distance_check*: `if (!VISITED(t->t3) && s->oppositeVertex(t->e3)->distance(center) <= L)` @ line 1206)
- `MESH_HEAL_COVERAGE.md`.
Description
Four triangles where seed t0's e3 edge (v0,v1) is shared with neighbor t3 and t3's opposite vertex n3=(1,1,0) lies within radius L=2.5 of center C=(0,0,0). The e1 and e2 sides of t0 are boundary edges, isolating Branch 3. Branch 3 fires during BFS expansion for the e3 (third) adjacency.
Reproducer recipe
c=(0,0,0) center; t0=(c,v0,v1) seed; t3=(v0,n3,v1) e3-neighbor; t4,t5 context. Assert vertex_pair_distance_lt([3,2], 2.5); euler V=6, E=9, F=4, chi=1.
Expected kernel behavior
Branch 3 fires; !VISITED(t3) and dist(n3,C)<=L; t3 added to removal list; e1 and e2 sides are boundary.
Expected validation
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1{ 2 "vertices": [ 3 [ 4 1.0, 5 0.0, 6 0.0 7 ], 8 [ 9 0.0, 10 1.0, 11 0.0 12 ], 13 [ 14 0.0, 15 0.0, 16 0.0 17 ], 18 [ 19 1.0, 20 1.0, 21 0.0 22 ], 23 [ 24 2.0, 25 1.0, 26 0.0 27 ], 28 [ 29 -1.0, 30 2.0, 31 0.0 32 ] 33 ], 34 "triangles": [ 35 [ 36 2, 37 0, 38 1 39 ], 40 [ 41 0, 42 3, 43 1 44 ], 45 [ 46 0, 47 4, 48 3 49 ], 50 [ 51 1, 52 3, 53 5 54 ] 55 ], 56 "metadata": { 57 "id": "Me622", 58 "schema_version": 0, 59 "defect_class": "radial_region_removal", 60 "title": "removeRegion neighbor_t3_distance_check: seed t0 e3-neighbor t3 has opposite vertex n3 at distance sqrt(2)~1.41 from center C=(0,0,0) <= L=2.5 (Branch 3)", 61 "assertions": [ 62 { 63 "kind": "edge_shared_by_n_triangles", 64 "edge": [ 65 0, 66 1 67 ], 68 "n": 2 69 }, 70 { 71 "kind": "edge_shared_by_n_triangles", 72 "edge": [ 73 0, 74 3 75 ], 76 "n": 2 77 }, 78 { 79 "kind": "edge_shared_by_n_triangles", 80 "edge": [ 81 1, 82 3 83 ], 84 "n": 2 85 }, 86 { 87 "kind": "edge_shared_by_n_triangles", 88 "edge": [ 89 0, 90 2 91 ], 92 "n": 1 93 }, 94 { 95 "kind": "edge_shared_by_n_triangles", 96 "edge": [ 97 1, 98 2 99 ], 100 "n": 1 101 }, 102 { 103 "kind": "edge_shared_by_n_triangles", 104 "edge": [ 105 0, 106 4 107 ], 108 "n": 1 109 }, 110 { 111 "kind": "edge_shared_by_n_triangles", 112 "edge": [ 113 3, 114 4 115 ], 116 "n": 1 117 }, 118 { 119 "kind": "edge_shared_by_n_triangles", 120 "edge": [ 121 1, 122 5 123 ], 124 "n": 1 125 }, 126 { 127 "kind": "edge_shared_by_n_triangles", 128 "edge": [ 129 3, 130 5 131 ], 132 "n": 1 133 }, 134 { 135 "kind": "vertex_pair_distance_lt", 136 "pair": [ 137 3, 138 2 139 ], 140 "lt": 2.5 141 }, 142 { 143 "kind": "euler_characteristic", 144 "v": 6, 145 "e": 9, 146 "f": 4, 147 "chi": 1 148 } 149 ] 150 } 151}