mesh-examples/12-14-mesh/Me682.mesh.json
Sources
- MeshFix `holeFilling::TriangulateHole@L98` Branch 3 (*EULER_EDGE_TRIANGLE_FAILURE*: `if (!EulerEdgeTriangle(e1, e2)) { MARK_BIT(v, 5)
- continue
- }`)
- `MESH_HEAL_COVERAGE.md`.
Description
Nine-vertex mesh with a quadrilateral frame [v0,v1,v2,v3] partially filled by an interior fan (t4,t5,t6) around elevated vertex v8. The fan pre-uses edges (v0,v1) and (v3,v0) as interior (n==2), leaving a triangular sub-hole [v1,v2,v3] open. The fill attempt for sub-hole vertex v2 via EulerEdgeTriangle(e1,e2) fails because the fan topology creates a conflict with the candidate insertion; v2 is marked bad (MARK_BIT bit 5). Euler: V=9, E=16, F=7, chi=0.
Reproducer recipe
v0=(0,0,0), v1=(2,0,0), v2=(2,2,0), v3=(0,2,0), v4-v7=frame apices, v8=(1,1,0.5); t0-t3=frame, t4=(v0,v1,v8), t5=(v1,v3,v8), t6=(v3,v0,v8); sub-hole [v1,v2,v3] open; euler V=9,E=16,F=7,chi=0.
Expected kernel behavior
Branch 3 fires; EulerEdgeTriangle(e1=(v1,v2),e2=(v2,v3)) returns false; MARK_BIT(v2,5) set; continue to next candidate.
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 2.0, 15 2.0, 16 0.0 17 ], 18 [ 19 0.0, 20 2.0, 21 0.0 22 ], 23 [ 24 1.0, 25 -1.5, 26 0.0 27 ], 28 [ 29 3.5, 30 1.0, 31 0.0 32 ], 33 [ 34 1.0, 35 3.5, 36 0.0 37 ], 38 [ 39 -1.5, 40 1.0, 41 0.0 42 ], 43 [ 44 1.0, 45 1.0, 46 0.5 47 ] 48 ], 49 "triangles": [ 50 [ 51 0, 52 1, 53 4 54 ], 55 [ 56 1, 57 2, 58 5 59 ], 60 [ 61 2, 62 3, 63 6 64 ], 65 [ 66 3, 67 0, 68 7 69 ], 70 [ 71 0, 72 1, 73 8 74 ], 75 [ 76 1, 77 3, 78 8 79 ], 80 [ 81 3, 82 0, 83 8 84 ] 85 ], 86 "metadata": { 87 "id": "Me682", 88 "schema_version": 0, 89 "defect_class": "hole_in_hull", 90 "title": "TriangulateHole@L98 EULER_EDGE_TRIANGLE_FAILURE: interior fan pre-uses (v0,v1); sub-hole [v1,v2,v3] fill attempt rejected; MARK_BIT(v2,5) (Branch 3)", 91 "assertions": [ 92 { 93 "kind": "edge_shared_by_n_triangles", 94 "edge": [ 95 0, 96 1 97 ], 98 "n": 2 99 }, 100 { 101 "kind": "edge_shared_by_n_triangles", 102 "edge": [ 103 0, 104 3 105 ], 106 "n": 2 107 }, 108 { 109 "kind": "edge_shared_by_n_triangles", 110 "edge": [ 111 0, 112 8 113 ], 114 "n": 2 115 }, 116 { 117 "kind": "edge_shared_by_n_triangles", 118 "edge": [ 119 1, 120 8 121 ], 122 "n": 2 123 }, 124 { 125 "kind": "edge_shared_by_n_triangles", 126 "edge": [ 127 3, 128 8 129 ], 130 "n": 2 131 }, 132 { 133 "kind": "edge_shared_by_n_triangles", 134 "edge": [ 135 1, 136 2 137 ], 138 "n": 1 139 }, 140 { 141 "kind": "edge_shared_by_n_triangles", 142 "edge": [ 143 2, 144 3 145 ], 146 "n": 1 147 }, 148 { 149 "kind": "edge_shared_by_n_triangles", 150 "edge": [ 151 1, 152 3 153 ], 154 "n": 1 155 }, 156 { 157 "kind": "hole_boundary", 158 "loop": [ 159 1, 160 2, 161 3 162 ] 163 }, 164 { 165 "kind": "euler_characteristic", 166 "v": 9, 167 "e": 16, 168 "f": 7, 169 "chi": 0 170 } 171 ] 172 } 173}