mesh-examples/12-14-mesh/Me1110.mesh.json
Sources
- CGAL `PMP.remove_self_intersections` Branch 1 @ line 2379 (*genus-preservation-requirement*: `if(preserve_genus) duplicate_non_manifold_vertices(…)`)
- `MESH_HEAL_COVERAGE.md`.
Description
vertex 0 is a pinch-neck bowtie hub shared by two disconnected triangle fans. Fan A (triangles 0,1) lies in the Z=0 plane. Fan B (triangles 2,3) lies in the Y=0 plane; triangle 3 dips below Z=0 and self-intersects triangle 0 from fan A. The hub's vertex fan is disconnected — the non-manifold precondition that preserve_genus must evaluate before SI removal can proceed.
Reproducer recipe
8 vertices; hub at origin; fan A upper-left (hub,fa0,fa1) and lower-left (hub,fa1,fa2) in Z=0; fan B right (hub,fb0,fb1) in Y=0 and crossing (hub,fb2,fb3) cutting into Z<0; assert_vertex_fan_disconnected(0); assert_triangles_self_intersect(0,3).
Expected kernel behavior
detect disconnected vertex fan at hub; evaluate preserve_genus; when false, duplicate hub before hole-filling; when true, route to complex-topology handler.
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 -2.0, 15 0.0, 16 0.0 17 ], 18 [ 19 -1.0, 20 -1.0, 21 0.0 22 ], 23 [ 24 1.0, 25 0.0, 26 1.0 27 ], 28 [ 29 2.0, 30 0.0, 31 0.0 32 ], 33 [ 34 1.0, 35 0.0, 36 -1.0 37 ], 38 [ 39 -0.5, 40 0.0, 41 -0.5 42 ] 43 ], 44 "triangles": [ 45 [ 46 0, 47 1, 48 2 49 ], 50 [ 51 0, 52 2, 53 3 54 ], 55 [ 56 0, 57 4, 58 5 59 ], 60 [ 61 0, 62 6, 63 7 64 ] 65 ], 66 "metadata": { 67 "id": "Me1110", 68 "schema_version": 0, 69 "defect_class": "self_intersection_non_manifold_vertex", 70 "title": "pinch-neck non-manifold vertex: genus-preservation decision for SI removal", 71 "assertions": [ 72 { 73 "kind": "vertex_fan_disconnected", 74 "vertex": 0 75 }, 76 { 77 "kind": "triangles_self_intersect", 78 "triangles": [ 79 0, 80 3 81 ] 82 } 83 ] 84 } 85}