mesh-examples/12-14-mesh/Me1001.mesh.json
Sources
- CGAL PMP `PMP.remove_connected_components.by_face_range` Branch 2 (*Logic_guard*: `if(!get(is_cst, v)) { remove_face(fd, pmesh)
- ... }`)
- `MESH_HEAL_COVERAGE.md`.
Description
Two disconnected components. Component A is a 4-triangle closed fan around hub v0=(0,0,0) with rim vertices v1-v4 (all hub edges shared by 2 triangles). Component B is a 2-triangle rectangular patch at x=20 with vertices v5-v8; all of B's vertices are unconstrained. When the face_range covers B's faces (t4, t5), each incident vertex v satisfies !get(is_cst, v) == true, firing Branch 2 for unconditional face removal. B is unreachable from A. Shared diagonal v6-v7 in B is n=2; all other B edges are n=1. Euler: V=9, E=13, F=6, chi=2.
Reproducer recipe
v0=(0,0,0), v1=(1,0,0), v2=(0,1,0), v3=(-1,0,0), v4=(0,-1,0); t0=(v0,v1,v2), t1=(v0,v2,v3), t2=(v0,v3,v4), t3=(v0,v4,v1); v5=(20,0,0), v6=(21,0,0), v7=(20,1,0), v8=(21,1,0); t4=(v5,v6,v7), t5=(v6,v8,v7); triangle_not_reachable_from(4,0); hub edges A n=2; diagonal v6-v7 n=2; euler V=9,E=13,F=6,chi=2.
Expected kernel behavior
Branch 2 fires; !get(is_cst, v) is true for every vertex in t4 and t5; faces removed unconditionally from the mesh.
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.0, 15 1.0, 16 0.0 17 ], 18 [ 19 -1.0, 20 0.0, 21 0.0 22 ], 23 [ 24 0.0, 25 -1.0, 26 0.0 27 ], 28 [ 29 20.0, 30 0.0, 31 0.0 32 ], 33 [ 34 21.0, 35 0.0, 36 0.0 37 ], 38 [ 39 20.0, 40 1.0, 41 0.0 42 ], 43 [ 44 21.0, 45 1.0, 46 0.0 47 ] 48 ], 49 "triangles": [ 50 [ 51 0, 52 1, 53 2 54 ], 55 [ 56 0, 57 2, 58 3 59 ], 60 [ 61 0, 62 3, 63 4 64 ], 65 [ 66 0, 67 4, 68 1 69 ], 70 [ 71 5, 72 6, 73 7 74 ], 75 [ 76 6, 77 8, 78 7 79 ] 80 ], 81 "metadata": { 82 "id": "Me1001", 83 "schema_version": 0, 84 "defect_class": "disconnected_components", 85 "title": "remove_connected_components.by_face_range Logic_guard: unconstrained vertices (!get(is_cst,v)) in face_range; 4-tri component A + 2-tri unconstrained component B removed (Branch 2)", 86 "assertions": [ 87 { 88 "kind": "triangle_not_reachable_from", 89 "target": 4, 90 "source": 0 91 }, 92 { 93 "kind": "triangle_not_reachable_from", 94 "target": 5, 95 "source": 0 96 }, 97 { 98 "kind": "edge_shared_by_n_triangles", 99 "edge": [ 100 0, 101 1 102 ], 103 "n": 2 104 }, 105 { 106 "kind": "edge_shared_by_n_triangles", 107 "edge": [ 108 0, 109 2 110 ], 111 "n": 2 112 }, 113 { 114 "kind": "edge_shared_by_n_triangles", 115 "edge": [ 116 0, 117 3 118 ], 119 "n": 2 120 }, 121 { 122 "kind": "edge_shared_by_n_triangles", 123 "edge": [ 124 0, 125 4 126 ], 127 "n": 2 128 }, 129 { 130 "kind": "edge_shared_by_n_triangles", 131 "edge": [ 132 1, 133 2 134 ], 135 "n": 1 136 }, 137 { 138 "kind": "edge_shared_by_n_triangles", 139 "edge": [ 140 2, 141 3 142 ], 143 "n": 1 144 }, 145 { 146 "kind": "edge_shared_by_n_triangles", 147 "edge": [ 148 3, 149 4 150 ], 151 "n": 1 152 }, 153 { 154 "kind": "edge_shared_by_n_triangles", 155 "edge": [ 156 1, 157 4 158 ], 159 "n": 1 160 }, 161 { 162 "kind": "edge_shared_by_n_triangles", 163 "edge": [ 164 6, 165 7 166 ], 167 "n": 2 168 }, 169 { 170 "kind": "edge_shared_by_n_triangles", 171 "edge": [ 172 5, 173 6 174 ], 175 "n": 1 176 }, 177 { 178 "kind": "edge_shared_by_n_triangles", 179 "edge": [ 180 5, 181 7 182 ], 183 "n": 1 184 }, 185 { 186 "kind": "edge_shared_by_n_triangles", 187 "edge": [ 188 6, 189 8 190 ], 191 "n": 1 192 }, 193 { 194 "kind": "edge_shared_by_n_triangles", 195 "edge": [ 196 7, 197 8 198 ], 199 "n": 1 200 }, 201 { 202 "kind": "euler_characteristic", 203 "v": 9, 204 "e": 13, 205 "f": 6, 206 "chi": 2 207 } 208 ] 209 } 210}