mesh-examples/12-14-mesh/Me216.mesh.json
Sources
- MeshFix `Basic_TMesh.cutAndStitch` Branch 7 (*BOUNDED_SINGULAR_CHAIN*: `if (e1->isLinked()) pinch(e1, true)`)
- `MESH_HEAL_COVERAGE.md`.
Description
Two patches have coincident seam edges (v0≡v3, v1≡v4) forming a bounded open chain with identifiable endpoints. Linked singular edges with endpoints are pinched using with_common_vertex=true. The seam boundary (v0,v1) on patch A and (v3,v4) on patch B are the chain. Geometry: patch A (v0,v1,v2), patch B (v3,v5,v4) at coincident seam.
Reproducer recipe
two boundary edges with coincident endpoints; vertex_pair_distance_lt confirms boundedness.
Expected kernel behavior
pinch(e1, true) merges seam from common-vertex side.
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.5, 15 1.0, 16 0.0 17 ], 18 [ 19 0.0, 20 0.0, 21 0.0 22 ], 23 [ 24 1.0, 25 0.0, 26 0.0 27 ], 28 [ 29 0.5, 30 -1.0, 31 0.0 32 ] 33 ], 34 "triangles": [ 35 [ 36 0, 37 1, 38 2 39 ], 40 [ 41 3, 42 5, 43 4 44 ] 45 ], 46 "metadata": { 47 "id": "Me216", 48 "schema_version": 0, 49 "defect_class": "non_manifold_edge", 50 "title": "cutAndStitch_bounded_singular_chain: boundary seam pinched from common vertex (with_common_vertex=true)", 51 "assertions": [ 52 { 53 "kind": "edge_shared_by_n_triangles", 54 "edge": [ 55 0, 56 1 57 ], 58 "n": 1 59 }, 60 { 61 "kind": "edge_shared_by_n_triangles", 62 "edge": [ 63 3, 64 4 65 ], 66 "n": 1 67 }, 68 { 69 "kind": "vertex_pair_distance_lt", 70 "pair": [ 71 0, 72 3 73 ], 74 "lt": 1e-09 75 }, 76 { 77 "kind": "vertex_pair_distance_lt", 78 "pair": [ 79 1, 80 4 81 ], 82 "lt": 1e-09 83 }, 84 { 85 "kind": "edge_shared_by_n_triangles", 86 "edge": [ 87 0, 88 2 89 ], 90 "n": 1 91 }, 92 { 93 "kind": "edge_shared_by_n_triangles", 94 "edge": [ 95 1, 96 2 97 ], 98 "n": 1 99 }, 100 { 101 "kind": "edge_shared_by_n_triangles", 102 "edge": [ 103 3, 104 5 105 ], 106 "n": 1 107 }, 108 { 109 "kind": "edge_shared_by_n_triangles", 110 "edge": [ 111 4, 112 5 113 ], 114 "n": 1 115 } 116 ] 117 } 118}