mesh-examples/12-14-mesh/Me471.mesh.json
Sources
- CGAL PMP `PMP.remove_a_border_edge.with_sets` Branch 2 (*link_condition_violation*: `does_satisfy_link_condition(halfedge, tmesh)` → false
- mark incident faces and identify region)
- `MESH_HEAL_COVERAGE.md`.
Description
Three triangles in two disconnected fans sharing endpoints v0 and v1. t0=(v0,v1,v2) provides border edge (v0,v1). t1=(v0,v3,va) and t2=(v1,va,v3) make v3 and va common neighbors of both v0 and v1, so link(v0)∩link(v1)⊇{v2,v3,va} — multiple common neighbors — violating the link condition. Interior (v3,va) n=2; all other incident edges n=1. Euler V=5,E=8,F=3,chi=0 (two disconnected patches).
Reproducer recipe
v0=(0,0,0), v1=(2,0,0), v2=(1,1,0), v3=(1,-1,0), va=(1,0,1); t0=(v0,v1,v2), t1=(v0,v3,va), t2=(v1,va,v3); assert_edge_shared(v3,va,2); assert_edge_shared(v0,v1,1); euler V=5,E=8,F=3,chi=0.
Expected kernel behavior
Branch 2 fires; does_satisfy_link_condition returns false; incident faces marked and region identified for further processing.
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 1.0, 16 0.0 17 ], 18 [ 19 1.0, 20 -1.0, 21 0.0 22 ], 23 [ 24 1.0, 25 0.0, 26 1.0 27 ] 28 ], 29 "triangles": [ 30 [ 31 0, 32 1, 33 2 34 ], 35 [ 36 0, 37 3, 38 4 39 ], 40 [ 41 1, 42 4, 43 3 44 ] 45 ], 46 "metadata": { 47 "id": "Me471", 48 "schema_version": 0, 49 "defect_class": "border_edge_link_condition_violation", 50 "title": "remove_a_border_edge link_condition_violation: border edge (v0,v1) has multiple common neighbors; collapse would break topology (Branch 2)", 51 "assertions": [ 52 { 53 "kind": "edge_shared_by_n_triangles", 54 "edge": [ 55 3, 56 4 57 ], 58 "n": 2 59 }, 60 { 61 "kind": "edge_shared_by_n_triangles", 62 "edge": [ 63 0, 64 1 65 ], 66 "n": 1 67 }, 68 { 69 "kind": "edge_shared_by_n_triangles", 70 "edge": [ 71 0, 72 3 73 ], 74 "n": 1 75 }, 76 { 77 "kind": "edge_shared_by_n_triangles", 78 "edge": [ 79 1, 80 3 81 ], 82 "n": 1 83 }, 84 { 85 "kind": "edge_shared_by_n_triangles", 86 "edge": [ 87 0, 88 4 89 ], 90 "n": 1 91 }, 92 { 93 "kind": "edge_shared_by_n_triangles", 94 "edge": [ 95 1, 96 4 97 ], 98 "n": 1 99 }, 100 { 101 "kind": "euler_characteristic", 102 "v": 5, 103 "e": 8, 104 "f": 3, 105 "chi": 0 106 } 107 ] 108 } 109}