mesh-examples/12-14-mesh/Me273.mesh.json
Sources
- CGAL PMP `autorefine_impl::autorefine_triangle_soup` Branch 4 (*case 1*: `case 1:` when nbi==1 → add_point<1> and add_point<2> @ line 1130)
- `MESH_HEAL_COVERAGE.md`.
Description
A T-junction mesh where vertex v3 of triangle t1 lies exactly on the boundary edge (v0,v1) of triangle t0 at its midpoint. The intersection of the two triangles is exactly one point (nbi==1). Branch 4 adds this point to both triangles' point-insertion lists via add_point<1> and add_point<2>.
Reproducer recipe
t0=(v0,v1,v2) base triangle; v3 on edge (v0,v1) midpoint; t1=(v3,v4,v5) piercing triangle; assert vertex_on_edge(v3,[v0,v1]); all edges n=1.
Expected kernel behavior
Branch 4 fires; case 1 handling inserts v3 into t0's edge as a refinement point; v3 is also recorded for t1.
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 0.5, 25 -1.0, 26 0.0 27 ], 28 [ 29 1.5, 30 -1.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": "Me273", 48 "schema_version": 0, 49 "defect_class": "autorefine_vertex_on_edge_touch", 50 "title": "autorefine_triangle_soup single-point containment: T-vertex on edge \u2192 case 1", 51 "assertions": [ 52 { 53 "kind": "vertex_on_edge", 54 "vertex": 3, 55 "edge": [ 56 0, 57 1 58 ] 59 }, 60 { 61 "kind": "edge_shared_by_n_triangles", 62 "edge": [ 63 0, 64 1 65 ], 66 "n": 1 67 }, 68 { 69 "kind": "edge_shared_by_n_triangles", 70 "edge": [ 71 1, 72 2 73 ], 74 "n": 1 75 }, 76 { 77 "kind": "edge_shared_by_n_triangles", 78 "edge": [ 79 0, 80 2 81 ], 82 "n": 1 83 }, 84 { 85 "kind": "edge_shared_by_n_triangles", 86 "edge": [ 87 3, 88 4 89 ], 90 "n": 1 91 }, 92 { 93 "kind": "edge_shared_by_n_triangles", 94 "edge": [ 95 4, 96 5 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 } 110}