mesh-examples/12-14-mesh/Me135.mesh.json
Sources
- MeshFix `Vertex.removeIfRedundant` Branch 6 (*double_flat_second_edge_removal*: `if (e2 != NULL) ve->removeNode(e2)`)
- `MESH_HEAL_COVERAGE.md`.
Description
Vertex v2=(2,0,0) is DoubleFlat with two symmetric ridge neighbors v1 and v3 on either side of the axis. Both e1=(v1,v2) and e2=(v2,v3) are non-NULL; Branch 5 removes e1, Branch 6 removes e2, leaving only the axis edges (v0,v2) and (v2,v4) as collapse candidates.
Reproducer recipe
v0=(0,0,0), v1=(1,1,0), v2=(2,0,0), v3=(1,-1,0), v4=(4,0,0), v5=(3,1,0), v6=(3,-1,0). Six triangles in double-sided fan.
Expected kernel behavior
both e1 and e2 removed from candidate set.
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 1.0, 11 0.0 12 ], 13 [ 14 2.0, 15 0.0, 16 0.0 17 ], 18 [ 19 1.0, 20 -1.0, 21 0.0 22 ], 23 [ 24 4.0, 25 0.0, 26 0.0 27 ], 28 [ 29 3.0, 30 1.0, 31 0.0 32 ], 33 [ 34 3.0, 35 -1.0, 36 0.0 37 ] 38 ], 39 "triangles": [ 40 [ 41 0, 42 1, 43 2 44 ], 45 [ 46 0, 47 2, 48 3 49 ], 50 [ 51 2, 52 1, 53 5 54 ], 55 [ 56 2, 57 5, 58 4 59 ], 60 [ 61 2, 62 4, 63 6 64 ], 65 [ 66 3, 67 2, 68 6 69 ] 70 ], 71 "metadata": { 72 "id": "Me135", 73 "schema_version": 0, 74 "defect_class": "redundant_vertex_double_flat_e1_e2_removal", 75 "title": "removeIfRedundant_double_flat_second_edge_removal: DoubleFlat vertex with both e1 and e2 removed from candidate list", 76 "assertions": [ 77 { 78 "kind": "vertex_on_edge", 79 "vertex": 2, 80 "edge": [ 81 0, 82 4 83 ] 84 }, 85 { 86 "kind": "edge_shared_by_n_triangles", 87 "edge": [ 88 1, 89 2 90 ], 91 "n": 2 92 }, 93 { 94 "kind": "edge_shared_by_n_triangles", 95 "edge": [ 96 2, 97 3 98 ], 99 "n": 2 100 }, 101 { 102 "kind": "edge_shared_by_n_triangles", 103 "edge": [ 104 0, 105 2 106 ], 107 "n": 2 108 }, 109 { 110 "kind": "edge_shared_by_n_triangles", 111 "edge": [ 112 2, 113 4 114 ], 115 "n": 2 116 } 117 ] 118 } 119}