mesh-examples/12-14-mesh/Me850.mesh.json
Sources
- CGAL PMP `PMP.does_bound_a_volume` Branch 1 (*connectivity_broken*: `if(!PMP::is_closed(tmesh)) return false
- `)
- `MESH_HEAL_COVERAGE.md`.
Description
Tetrahedron with base face absent — three lateral faces (v0,v1,v3), (v1,v2,v3), (v0,v3,v2) form an open manifold. The three lateral edges (v0,v3),(v1,v3),(v2,v3) are each shared by two triangles. The three base edges (v0,v1),(v1,v2),(v0,v2) are each shared by one triangle → boundary cycle. is_closed returns false → Branch 1 fires immediately before orientation or SI are checked. Euler: V=4, E=6, F=3, chi=1 (cone / open disk).
Reproducer recipe
v0=(0,0,0), v1=(1,0,0), v2=(0.5,1,0), v3=(0.5,0.5,1); triangles: (v0,v1,v3),(v1,v2,v3),(v0,v3,v2); lateral edges n=2; base edges n=1; hole_boundary=[v0,v1,v2]; euler V=4,E=6,F=3,chi=1.
Expected kernel behavior
Branch 1 fires; is_closed test detects boundary halfedge; does_bound_a_volume returns false without evaluating orientation or self-intersection.
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 0.0, 11 0.0 12 ], 13 [ 14 0.5, 15 1.0, 16 0.0 17 ], 18 [ 19 0.5, 20 0.5, 21 1.0 22 ] 23 ], 24 "triangles": [ 25 [ 26 0, 27 1, 28 3 29 ], 30 [ 31 1, 32 2, 33 3 34 ], 35 [ 36 0, 37 3, 38 2 39 ] 40 ], 41 "metadata": { 42 "id": "Me850", 43 "schema_version": 0, 44 "defect_class": "hole_in_hull", 45 "title": "does_bound_a_volume connectivity_broken: tetrahedron with base removed; boundary cycle present; is_closed returns false (Branch 1)", 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}