mesh-examples/12-14-mesh/Me270.mesh.json
Sources
- CGAL PMP `autorefine_impl::autorefine_triangle_soup` Branch 1 (*si_pairs.empty*: `si_pairs.empty()` → copy input verbatim @ line 1040)
- `MESH_HEAL_COVERAGE.md`.
Description
Two well-separated non-intersecting triangles. The bbox-based intersection query returns an empty si_pairs collection so Branch 1 is taken immediately and the function copies the input triangles verbatim without entering the refinement pipeline. The output triangle count equals the input triangle count (number_of_output_triangles == number_of_input_triangles).
Reproducer recipe
t0=(v0,v1,v2) and t1=(v3,v4,v5) separated by 5 units in X; all edges n=1; triangles_do_not_intersect([0,1]).
Expected kernel behavior
Branch 1 fires; si_pairs.empty() is true; no splitting; output is verbatim copy of input.
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 5.0, 20 0.0, 21 0.0 22 ], 23 [ 24 6.0, 25 0.0, 26 0.0 27 ], 28 [ 29 5.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": "Me270", 48 "schema_version": 0, 49 "defect_class": "autorefine_no_si", 50 "title": "autorefine_triangle_soup no-SI trivial case: si_pairs.empty() \u2192 verbatim copy", 51 "assertions": [ 52 { 53 "kind": "triangles_do_not_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 1, 71 2 72 ], 73 "n": 1 74 }, 75 { 76 "kind": "edge_shared_by_n_triangles", 77 "edge": [ 78 0, 79 2 80 ], 81 "n": 1 82 }, 83 { 84 "kind": "edge_shared_by_n_triangles", 85 "edge": [ 86 3, 87 4 88 ], 89 "n": 1 90 }, 91 { 92 "kind": "edge_shared_by_n_triangles", 93 "edge": [ 94 4, 95 5 96 ], 97 "n": 1 98 }, 99 { 100 "kind": "edge_shared_by_n_triangles", 101 "edge": [ 102 3, 103 5 104 ], 105 "n": 1 106 } 107 ] 108 } 109}