mesh-examples/12-14-mesh/Me595.mesh.json
Sources
- MeshFix `holeFilling::TriangulateHole@L157` Branch 6 (*WATSON_INSERT_FAILURE*: `watsonInsert(p, ...)== NULL` → skip
- continue)
- `MESH_HEAL_COVERAGE.md`.
Description
Seven-vertex mesh with 5 rim triangles surrounding an L-shaped non-convex hole. Boundary: v0=(0,0,0), v1=(4,0,0), v2=(4,2,0), v3=(2,2,0) (concave corner), v4=(2,4,0), v5=(0,4,0), hub vh=(0,2,0). The concave notch at v3 means a naive fill-triangle centroid lands outside the valid triangulation domain → watsonInsert returns NULL → Branch 6 fires; interior point skipped. Interior edges: (v0,v2),(v0,v3),(v0,v5),(v3,v5) n=2. Outer rim boundary: 7 edges n=1. Hole boundary: [v0,v1,v2,v3,v4,v5]. Euler: V=7, E=11, F=5, chi=1.
Reproducer recipe
v0-v5=L-shape, vh=(0,2,0); t0=(v0,v1,v2), t1=(v0,v2,v3), t2=(v3,v4,v5), t3=(v0,v3,v5), t4=(v0,v5,vh); interior edges n=2; outer boundary edges n=1; hole_boundary=[v0,v1,v2,v3,v4,v5]; euler V=7,E=11,F=5,chi=1.
Expected kernel behavior
Branch 6 fires; centroid of a large fill triangle computed as interior candidate p; watsonInsert(p) called; p outside non-convex domain → returns NULL; p skipped; next candidate tried.
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 4.0, 10 0.0, 11 0.0 12 ], 13 [ 14 4.0, 15 2.0, 16 0.0 17 ], 18 [ 19 2.0, 20 2.0, 21 0.0 22 ], 23 [ 24 2.0, 25 4.0, 26 0.0 27 ], 28 [ 29 0.0, 30 4.0, 31 0.0 32 ], 33 [ 34 0.0, 35 2.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 3, 52 4, 53 5 54 ], 55 [ 56 0, 57 3, 58 5 59 ], 60 [ 61 0, 62 5, 63 6 64 ] 65 ], 66 "metadata": { 67 "id": "Me595", 68 "schema_version": 0, 69 "defect_class": "hole_in_hull", 70 "title": "holeFilling_TriangulateHole_watson_insert_failure: L-shaped hole; interior insertion candidate falls in concave notch; watsonInsert returns NULL (Branch 6)", 71 "assertions": [ 72 { 73 "kind": "edge_shared_by_n_triangles", 74 "edge": [ 75 0, 76 2 77 ], 78 "n": 2 79 }, 80 { 81 "kind": "edge_shared_by_n_triangles", 82 "edge": [ 83 0, 84 3 85 ], 86 "n": 2 87 }, 88 { 89 "kind": "edge_shared_by_n_triangles", 90 "edge": [ 91 0, 92 5 93 ], 94 "n": 2 95 }, 96 { 97 "kind": "edge_shared_by_n_triangles", 98 "edge": [ 99 3, 100 5 101 ], 102 "n": 2 103 }, 104 { 105 "kind": "edge_shared_by_n_triangles", 106 "edge": [ 107 0, 108 1 109 ], 110 "n": 1 111 }, 112 { 113 "kind": "edge_shared_by_n_triangles", 114 "edge": [ 115 1, 116 2 117 ], 118 "n": 1 119 }, 120 { 121 "kind": "edge_shared_by_n_triangles", 122 "edge": [ 123 2, 124 3 125 ], 126 "n": 1 127 }, 128 { 129 "kind": "edge_shared_by_n_triangles", 130 "edge": [ 131 3, 132 4 133 ], 134 "n": 1 135 }, 136 { 137 "kind": "edge_shared_by_n_triangles", 138 "edge": [ 139 4, 140 5 141 ], 142 "n": 1 143 }, 144 { 145 "kind": "edge_shared_by_n_triangles", 146 "edge": [ 147 5, 148 6 149 ], 150 "n": 1 151 }, 152 { 153 "kind": "edge_shared_by_n_triangles", 154 "edge": [ 155 0, 156 6 157 ], 158 "n": 1 159 }, 160 { 161 "kind": "hole_boundary", 162 "loop": [ 163 0, 164 1, 165 2, 166 3, 167 4, 168 5 169 ] 170 }, 171 { 172 "kind": "euler_characteristic", 173 "v": 7, 174 "e": 11, 175 "f": 5, 176 "chi": 1 177 } 178 ] 179 } 180}