mesh-examples/12-14-mesh/Me215.mesh.json
Sources
- MeshFix `Basic_TMesh.cutAndStitch` Branch 6 (*GROUP_COINCIDENT_EDGES*: `if (e2 == NULL || lexEdgeCompare(e1, e2) != 0) { e1->info = new List()
- e2 = e1
- }`)
- `MESH_HEAL_COVERAGE.md`.
Description
Three isolated triangle patches have seam edges at three distinct lexicographic positions. Each edge starts a new group (new List() allocated). The three components are disconnected, confirming the distinct-group condition fires for each. Geometry: patches at x=0-1, x=2-3, x=4-5 in XY plane.
Reproducer recipe
three isolated single-triangle patches; triangle_not_reachable_from assertions.
Expected kernel behavior
each distinct singular edge creates new e1->info = new List() grouping.
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 2.0, 20 0.0, 21 0.0 22 ], 23 [ 24 3.0, 25 0.0, 26 0.0 27 ], 28 [ 29 2.5, 30 1.0, 31 0.0 32 ], 33 [ 34 4.0, 35 0.0, 36 0.0 37 ], 38 [ 39 5.0, 40 0.0, 41 0.0 42 ], 43 [ 44 4.5, 45 1.0, 46 0.0 47 ] 48 ], 49 "triangles": [ 50 [ 51 0, 52 1, 53 2 54 ], 55 [ 56 3, 57 4, 58 5 59 ], 60 [ 61 6, 62 7, 63 8 64 ] 65 ], 66 "metadata": { 67 "id": "Me215", 68 "schema_version": 0, 69 "defect_class": "non_manifold_edge", 70 "title": "cutAndStitch_group_coincident_edges: three distinct boundary edges each start a new group", 71 "assertions": [ 72 { 73 "kind": "triangle_not_reachable_from", 74 "target": 1, 75 "source": 0 76 }, 77 { 78 "kind": "triangle_not_reachable_from", 79 "target": 2, 80 "source": 0 81 }, 82 { 83 "kind": "edge_shared_by_n_triangles", 84 "edge": [ 85 0, 86 1 87 ], 88 "n": 1 89 }, 90 { 91 "kind": "edge_shared_by_n_triangles", 92 "edge": [ 93 1, 94 2 95 ], 96 "n": 1 97 }, 98 { 99 "kind": "edge_shared_by_n_triangles", 100 "edge": [ 101 0, 102 2 103 ], 104 "n": 1 105 }, 106 { 107 "kind": "edge_shared_by_n_triangles", 108 "edge": [ 109 3, 110 4 111 ], 112 "n": 1 113 }, 114 { 115 "kind": "edge_shared_by_n_triangles", 116 "edge": [ 117 4, 118 5 119 ], 120 "n": 1 121 }, 122 { 123 "kind": "edge_shared_by_n_triangles", 124 "edge": [ 125 3, 126 5 127 ], 128 "n": 1 129 }, 130 { 131 "kind": "edge_shared_by_n_triangles", 132 "edge": [ 133 6, 134 7 135 ], 136 "n": 1 137 }, 138 { 139 "kind": "edge_shared_by_n_triangles", 140 "edge": [ 141 7, 142 8 143 ], 144 "n": 1 145 }, 146 { 147 "kind": "edge_shared_by_n_triangles", 148 "edge": [ 149 6, 150 8 151 ], 152 "n": 1 153 } 154 ] 155 } 156}