mesh-examples/12-14-mesh/Me003.mesh.json
Sources
- `MESH_DEFECT_TAXONOMY.md` #3 (`near_coincident_vertices`)
- CGAL `Snapping/snap_vertices`
- MeshFix `meshclean`.
Description
vertices 1 and 2 sit at `(1.0, 0, 0)` and `(1.00000005, 0, 0)` — 5e-8 apart, well under any typical CAD tolerance (~1e-6) but stored as distinct records. Triangles reference both; the mesh is polygon-soup-with-near-duplicates.
Reproducer recipe
vertex 1 `= (1.0, 0, 0)`, vertex 2 `= (1.00000005, 0, 0)`; triangle 0 uses vertex 1, triangle 1 uses vertex 2.
Expected kernel behavior
snap vertices within tolerance; failing to do so leaves T-junctions and tiny cracks at the seam.
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.00000005, 15 0.0, 16 0.0 17 ], 18 [ 19 0.5, 20 1.0, 21 0.0 22 ] 23 ], 24 "triangles": [ 25 [ 26 0, 27 1, 28 3 29 ], 30 [ 31 2, 32 0, 33 3 34 ] 35 ], 36 "metadata": { 37 "id": "Me003", 38 "schema_version": 0, 39 "defect_class": "near_coincident_vertices", 40 "title": "near-coincident vertices: 5e-8 separation, distinct entries", 41 "assertions": [ 42 { 43 "kind": "vertex_pair_distance_lt", 44 "pair": [ 45 1, 46 2 47 ], 48 "lt": 1e-07 49 } 50 ] 51 } 52}