mesh-examples/12-14-mesh/Me761.mesh.json
Sources
- MeshFix `holeFilling::retriangulateVT` Branch 2 (*HOLE_TRIANGULATION*: `TriangulateHole(e0, &nor)`) @ line 404
- `MESH_HEAL_COVERAGE.md`.
Description
Hub vertex v3=(1,1,1) elevated above a triangular inner ring v0/v1/v2. Three wall triangles t0=(v3,v0,v1), t1=(v3,v1,v2), t2=(v3,v2,v0) form the surrounding fan. The inner triangle (v0,v1,v2) is absent — the triangular hole [v0,v1,v2] is the unfilled region. retriangulateVT accumulates normals from t0..t2 then calls TriangulateHole(e0, &nor) → Branch 2. Hub spokes each n=2; inner ring edges each n=1. Euler: V=4, E=6, F=3, chi=1.
Reproducer recipe
v0=(0,0,0), v1=(2,0,0), v2=(1,2,0), v3=(1,1,1); t0=(v3,v0,v1), t1=(v3,v1,v2), t2=(v3,v2,v0); hub spokes n=2; inner rim n=1; hole_boundary [v0,v1,v2]; euler V=4,E=6,F=3,chi=1.
Expected kernel behavior
Branch 2 fires; TriangulateHole fills the [v0,v1,v2] gap using the normal averaged from the 3 wall triangles.
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 1.0, 15 2.0, 16 0.0 17 ], 18 [ 19 1.0, 20 1.0, 21 1.0 22 ] 23 ], 24 "triangles": [ 25 [ 26 3, 27 0, 28 1 29 ], 30 [ 31 3, 32 1, 33 2 34 ], 35 [ 36 3, 37 2, 38 0 39 ] 40 ], 41 "metadata": { 42 "id": "Me761", 43 "schema_version": 0, 44 "defect_class": "hole_in_hull", 45 "title": "retriangulateVT_hole_triangulation: 3-triangle wall fan around hub v3; inner hole [v0,v1,v2] filled by TriangulateHole(e0, &nor) (Branch 2)", 46 "assertions": [ 47 { 48 "kind": "edge_shared_by_n_triangles", 49 "edge": [ 50 0, 51 3 52 ], 53 "n": 2 54 }, 55 { 56 "kind": "edge_shared_by_n_triangles", 57 "edge": [ 58 1, 59 3 60 ], 61 "n": 2 62 }, 63 { 64 "kind": "edge_shared_by_n_triangles", 65 "edge": [ 66 2, 67 3 68 ], 69 "n": 2 70 }, 71 { 72 "kind": "edge_shared_by_n_triangles", 73 "edge": [ 74 0, 75 1 76 ], 77 "n": 1 78 }, 79 { 80 "kind": "edge_shared_by_n_triangles", 81 "edge": [ 82 1, 83 2 84 ], 85 "n": 1 86 }, 87 { 88 "kind": "edge_shared_by_n_triangles", 89 "edge": [ 90 0, 91 2 92 ], 93 "n": 1 94 }, 95 { 96 "kind": "hole_boundary", 97 "loop": [ 98 0, 99 1, 100 2 101 ] 102 }, 103 { 104 "kind": "euler_characteristic", 105 "v": 4, 106 "e": 6, 107 "f": 3, 108 "chi": 1 109 } 110 ] 111 } 112}