mesh-examples/12-14-mesh/Me055.mesh.json
Sources
- CGAL `PMP.self_intersections_impl` Branch 10 @ line 497 (*output-limit-in-sequential*)
- `MESH_HEAL_COVERAGE.md`.
Description
three spatially separated crossing pairs at x=0, x=10, x=20. In sequential mode with `do_limit`, the callback is wrapped in a `Count_and_throw_filter`; after `maximum_number` pairs are recorded it throws. With limit=2, pair C (x=20) is never returned.
Reproducer recipe
three pairs of XY/XZ crossing triangles with apexes at x=0, 10, 20. Each shares an apex and crosses along the X-direction.
Expected kernel behavior
collect pairs A and B (limit=2); catch exception and return without pair C.
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 1.0, 11 0.0 12 ], 13 [ 14 1.0, 15 -1.0, 16 0.0 17 ], 18 [ 19 1.0, 20 0.0, 21 1.0 22 ], 23 [ 24 1.0, 25 0.0, 26 -1.0 27 ], 28 [ 29 10.0, 30 0.0, 31 0.0 32 ], 33 [ 34 11.0, 35 1.0, 36 0.0 37 ], 38 [ 39 11.0, 40 -1.0, 41 0.0 42 ], 43 [ 44 11.0, 45 0.0, 46 1.0 47 ], 48 [ 49 11.0, 50 0.0, 51 -1.0 52 ], 53 [ 54 20.0, 55 0.0, 56 0.0 57 ], 58 [ 59 21.0, 60 1.0, 61 0.0 62 ], 63 [ 64 21.0, 65 -1.0, 66 0.0 67 ], 68 [ 69 21.0, 70 0.0, 71 1.0 72 ], 73 [ 74 21.0, 75 0.0, 76 -1.0 77 ] 78 ], 79 "triangles": [ 80 [ 81 0, 82 1, 83 2 84 ], 85 [ 86 0, 87 3, 88 4 89 ], 90 [ 91 5, 92 6, 93 7 94 ], 95 [ 96 5, 97 8, 98 9 99 ], 100 [ 101 10, 102 11, 103 12 104 ], 105 [ 106 10, 107 13, 108 14 109 ] 110 ], 111 "metadata": { 112 "id": "Me055", 113 "schema_version": 0, 114 "defect_class": "self_intersection_sequential_count_limit", 115 "title": "Sequential count-limit: 3 SI pairs; Count_and_throw_filter fires at limit 2", 116 "assertions": [ 117 { 118 "kind": "triangles_self_intersect", 119 "triangles": [ 120 0, 121 1 122 ] 123 }, 124 { 125 "kind": "triangles_self_intersect", 126 "triangles": [ 127 2, 128 3 129 ] 130 }, 131 { 132 "kind": "triangles_self_intersect", 133 "triangles": [ 134 4, 135 5 136 ] 137 } 138 ] 139 } 140}