mesh-examples/12-14-mesh/Me831.mesh.json
Sources
- CGAL PMP `PMP.is_non_manifold_vertex` Branch 2 (*null-face-multiplicity*: `if(border_counter > 1) return true`)
- `MESH_HEAL_COVERAGE.md`.
Description
Two triangles (t0 upper, t1 lower) share only the apex vertex v0 — a classic bowtie/pinch-point defect. No edge is shared between the two fans. Every edge at v0 is a boundary edge (n=1), giving border_counter ≥ 2 at v0. The function reaches Branch 2 and returns true immediately: v0 is declared non-manifold. The disconnected fan assertion confirms the two disjoint umbrella sectors at v0. Euler: V=5, E=6, F=2, chi=1.
Reproducer recipe
v0=(0,0,0), v1=(1,1,0), v2=(-1,1,0), v3=(1,-1,0), v4=(-1,-1,0); t0=(v0,v1,v2), t1=(v0,v3,v4); all edges n=1; assert_vertex_fan_disconnected(v0); euler V=5,E=6,F=2,chi=1.
Expected kernel behavior
Branch 2 fires; border_counter at v0 exceeds 1; is_non_manifold_vertex returns true.
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 -1.0, 15 1.0, 16 0.0 17 ], 18 [ 19 1.0, 20 -1.0, 21 0.0 22 ], 23 [ 24 -1.0, 25 -1.0, 26 0.0 27 ] 28 ], 29 "triangles": [ 30 [ 31 0, 32 1, 33 2 34 ], 35 [ 36 0, 37 3, 38 4 39 ] 40 ], 41 "metadata": { 42 "id": "Me831", 43 "schema_version": 0, 44 "defect_class": "non_manifold_vertex", 45 "title": "is_non_manifold_vertex null-face-multiplicity: bowtie hub v0 shared by two disconnected fans; border_counter>1 fires (Branch 2)", 46 "assertions": [ 47 { 48 "kind": "edge_shared_by_n_triangles", 49 "edge": [ 50 0, 51 1 52 ], 53 "n": 1 54 }, 55 { 56 "kind": "edge_shared_by_n_triangles", 57 "edge": [ 58 0, 59 2 60 ], 61 "n": 1 62 }, 63 { 64 "kind": "edge_shared_by_n_triangles", 65 "edge": [ 66 0, 67 3 68 ], 69 "n": 1 70 }, 71 { 72 "kind": "edge_shared_by_n_triangles", 73 "edge": [ 74 0, 75 4 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 3, 91 4 92 ], 93 "n": 1 94 }, 95 { 96 "kind": "vertex_fan_disconnected", 97 "vertex": 0 98 }, 99 { 100 "kind": "euler_characteristic", 101 "v": 5, 102 "e": 6, 103 "f": 2, 104 "chi": 1 105 } 106 ] 107 } 108}