mesh-examples/12-14-mesh/Me1093.mesh.json
Sources
- CGAL `PMP.remove_degenerate_faces` Branch 10 @ line 2407 (*non-disk-topology-in-component*: `if (v - e + f != 1) { /* not a topological disk */ all_removed = false
- continue
- }`)
- `MESH_HEAL_COVERAGE.md`.
Description
four collinear vertices v0–v3 at x=0..3; all C(4,3)=4 triangles formed from 3-of-4 subsets are zero-area and connected. Every edge of the complete graph K4 (6 edges) is shared by exactly 2 faces. The cluster has no boundary edges — the Euler characteristic χ=V-E+F=4-6+4=2 (sphere), not χ=1 (disk). CGAL marks the component as unremovable.
Reproducer recipe
v0=(0,0,0)..v3=(3,0,0); t0=(v0,v1,v2), t1=(v1,v2,v3), t2=(v0,v2,v3), t3=(v0,v1,v3); all 6 K4 edges n=2; Euler V=4,E=6,F=4,chi=2.
Expected kernel behavior
compute v-e+f=2≠1; mark component not a topological disk; set all_removed=false; continue outer loop.
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 2.0, 15 0.0, 16 0.0 17 ], 18 [ 19 3.0, 20 0.0, 21 0.0 22 ] 23 ], 24 "triangles": [ 25 [ 26 0, 27 1, 28 2 29 ], 30 [ 31 1, 32 2, 33 3 34 ], 35 [ 36 0, 37 2, 38 3 39 ], 40 [ 41 0, 42 1, 43 3 44 ] 45 ], 46 "metadata": { 47 "id": "Me1093", 48 "schema_version": 0, 49 "defect_class": "degenerate_triangle", 50 "title": "non-disk degenerate CC: collinear ring \u03c7=2\u22601, topology check fails (Branch 10)", 51 "assertions": [ 52 { 53 "kind": "triangle_area_lt", 54 "triangle": 0, 55 "lt": 1e-12 56 }, 57 { 58 "kind": "triangle_area_lt", 59 "triangle": 1, 60 "lt": 1e-12 61 }, 62 { 63 "kind": "triangle_area_lt", 64 "triangle": 2, 65 "lt": 1e-12 66 }, 67 { 68 "kind": "triangle_area_lt", 69 "triangle": 3, 70 "lt": 1e-12 71 }, 72 { 73 "kind": "edge_shared_by_n_triangles", 74 "edge": [ 75 0, 76 1 77 ], 78 "n": 2 79 }, 80 { 81 "kind": "edge_shared_by_n_triangles", 82 "edge": [ 83 0, 84 2 85 ], 86 "n": 2 87 }, 88 { 89 "kind": "edge_shared_by_n_triangles", 90 "edge": [ 91 0, 92 3 93 ], 94 "n": 2 95 }, 96 { 97 "kind": "edge_shared_by_n_triangles", 98 "edge": [ 99 1, 100 2 101 ], 102 "n": 2 103 }, 104 { 105 "kind": "edge_shared_by_n_triangles", 106 "edge": [ 107 1, 108 3 109 ], 110 "n": 2 111 }, 112 { 113 "kind": "edge_shared_by_n_triangles", 114 "edge": [ 115 2, 116 3 117 ], 118 "n": 2 119 }, 120 { 121 "kind": "euler_characteristic", 122 "v": 4, 123 "e": 6, 124 "f": 4, 125 "chi": 2 126 } 127 ] 128 } 129}