mesh-examples/12-14-mesh/Me237.mesh.json
Sources
- MeshFix `Basic_TMesh.topTriangle` Branch 8 (*steepest_edge_selection*: `(az = (hv->z - e->oppositeVertex(hv)->z) / e->length()) < Ms`)
- `MESH_HEAL_COVERAGE.md`.
Description
Single triangle with apex v2 at z=4. Two candidate edges incident on hv=v2: (v0,v2) slope≈0.970 and (v1,v2) slope≈0.894. Branch 8 fires twice; the second fire (v1,v2 slope < current Ms) updates fe to (v1,v2) as steepest.
Reproducer recipe
v0=(0,0,0), v1=(0,0,2), v2=(1,0,4); t0=(v0,v1,v2).
Expected kernel behavior
Branch 8 fires for (v1,v2) with slope<Ms; fe=(v1,v2) selected.
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 0.0, 10 0.0, 11 2.0 12 ], 13 [ 14 1.0, 15 0.0, 16 4.0 17 ] 18 ], 19 "triangles": [ 20 [ 21 0, 22 1, 23 2 24 ] 25 ], 26 "metadata": { 27 "id": "Me237", 28 "schema_version": 0, 29 "defect_class": "topTriangle_steepest_edge_selection", 30 "title": "topTriangle_steepest_edge_selection: steeper edge (v1,v2) wins Branch 8 slope comparison", 31 "assertions": [ 32 { 33 "kind": "edge_shared_by_n_triangles", 34 "edge": [ 35 0, 36 1 37 ], 38 "n": 1 39 }, 40 { 41 "kind": "edge_shared_by_n_triangles", 42 "edge": [ 43 1, 44 2 45 ], 46 "n": 1 47 }, 48 { 49 "kind": "edge_shared_by_n_triangles", 50 "edge": [ 51 0, 52 2 53 ], 54 "n": 1 55 }, 56 { 57 "kind": "hole_boundary", 58 "loop": [ 59 0, 60 1, 61 2 62 ] 63 }, 64 { 65 "kind": "vertex_pair_distance_lt", 66 "pair": [ 67 1, 68 2 69 ], 70 "lt": 3.0 71 }, 72 { 73 "kind": "vertex_pair_distance_lt", 74 "pair": [ 75 0, 76 2 77 ], 78 "lt": 5.0 79 } 80 ] 81 } 82}