mesh-examples/12-14-mesh/Me731.mesh.json
Sources
- MeshFix `checkAndRepair::meshclean` Branch 2 (*INTERSECTION_REMOVAL_FAILURE*: `strongIntersectionRemoval(inner_loops)` returns false, `ni=false`)
- `MESH_HEAL_COVERAGE.md`.
Description
Six vertices; two coplanar triangles. t0=(v0,v1,v2) with v0=(0,0,0), v1=(2,0,0), v2=(1,2,0) and t1=(v3,v4,v5) with v3=(1,0,0), v4=(3,0,0), v5=(2,2,0) overlap in the central strip X∈[1,2]. The triangles share no edge and form separate connected components, so any collapse of the overlap creates a new degenerate face, causing the repair to cycle until the iteration budget is exhausted → strongIntersectionRemoval returns false → ni=false → Branch 2 fires.
Reproducer recipe
v0=(0,0,0), v1=(2,0,0), v2=(1,2,0), v3=(1,0,0), v4=(3,0,0), v5=(2,2,0); t0=(v0,v1,v2), t1=(v3,v4,v5); assert_triangles_self_intersect(0,1); boundary edges n=1 each.
Expected kernel behavior
strongIntersectionRemoval iterates but cannot resolve the overlapping coplanar pair; returns false; ni set to false; meshclean records incomplete repair.
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 2.0, 16 0.0 17 ], 18 [ 19 1.0, 20 0.0, 21 0.0 22 ], 23 [ 24 3.0, 25 0.0, 26 0.0 27 ], 28 [ 29 2.0, 30 2.0, 31 0.0 32 ] 33 ], 34 "triangles": [ 35 [ 36 0, 37 1, 38 2 39 ], 40 [ 41 3, 42 4, 43 5 44 ] 45 ], 46 "metadata": { 47 "id": "Me731", 48 "schema_version": 0, 49 "defect_class": "self_intersection", 50 "title": "meshclean INTERSECTION_REMOVAL_FAILURE: overlapping coplanar triangle pair resists strongIntersectionRemoval (branch 2)", 51 "assertions": [ 52 { 53 "kind": "triangles_self_intersect", 54 "triangles": [ 55 0, 56 1 57 ] 58 }, 59 { 60 "kind": "edge_shared_by_n_triangles", 61 "edge": [ 62 0, 63 1 64 ], 65 "n": 1 66 }, 67 { 68 "kind": "edge_shared_by_n_triangles", 69 "edge": [ 70 3, 71 4 72 ], 73 "n": 1 74 } 75 ] 76 } 77}