mesh-examples/12-14-mesh/Me014.mesh.json
Sources
- `MESH_DEFECT_TAXONOMY.md` #17 (`disconnected_components`)
- CGAL `keep_largest_connected_components`, `remove_connected_components_of_negligible_size`
- MeshFix `removeSmallestComponents`.
Description
faces 0-3 form a closed pyramid patch near the origin; face 4 is a tiny triangle at `(100,100,100)` with no shared vertices or edges connecting it to the first shell. Shell traversal from face 0 can never reach face 4 by shared-edge walk; the component is a floating noise island common in scan-reconstruction output.
Reproducer recipe
pyramid: 5 vertices, 4 triangles (v0-v4); noise: 3 vertices at `(100,100,100)`, `(100.01,100,100)`, `(100,100.01,100)`, 1 triangle — no shared elements.
Expected kernel behavior
identify connected components, compute per-component area or volume, and remove components below a negligible-size threshold.
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 1.0, 15 1.0, 16 0.0 17 ], 18 [ 19 0.0, 20 1.0, 21 0.0 22 ], 23 [ 24 0.5, 25 0.5, 26 0.5 27 ], 28 [ 29 100.0, 30 100.0, 31 100.0 32 ], 33 [ 34 100.01, 35 100.0, 36 100.0 37 ], 38 [ 39 100.0, 40 100.01, 41 100.0 42 ] 43 ], 44 "triangles": [ 45 [ 46 0, 47 1, 48 4 49 ], 50 [ 51 1, 52 2, 53 4 54 ], 55 [ 56 2, 57 3, 58 4 59 ], 60 [ 61 3, 62 0, 63 4 64 ], 65 [ 66 5, 67 6, 68 7 69 ] 70 ], 71 "metadata": { 72 "id": "Me014", 73 "schema_version": 0, 74 "defect_class": "disconnected_components", 75 "title": "disconnected components: large patch plus tiny noise triangle 100 units away", 76 "assertions": [ 77 { 78 "kind": "triangle_not_reachable_from", 79 "target": 4, 80 "source": 0 81 } 82 ] 83 } 84}