mesh-examples/12-14-mesh/Me1184.mesh.json
Sources
- 19-datasets.md (Thingi10K scan-noise outlier vertices)
- CGAL PMP `remove_almost_degenerate_faces` / vertex smoothing
- `MESH_HEAL_COVERAGE.md`.
Description
A flat hexagonal patch is fanned from its centre vertex, but the centre vertex — which should lie in the z=0 plane with its six rim neighbours — is displaced to z=50, a single gross geometric outlier (spike / noise vertex) of the kind produced by a bad scan sample or a units/typo error on one coordinate. The six fan triangles each become a tall thin needle (longest edge ~50, base ~1, aspect ratio ~50 vs ~1.7 for the clean flat fan). The spike protrudes OUTWARD into empty space, so — unlike a displaced apex that dips through a facing patch (Me018, Me1112, which self-INTERSECT) — none of the needle triangles cross each other. The mesh remains a valid manifold fan; the defect is purely that one vertex is nowhere near where the surface should be.
Reproducer recipe
rim r0..r5 on a unit hexagon at z=0; apex at (0,0,50); six needle triangles (apex, r_i, r_{i+1}); rim loop [r0..r5] is the open fan boundary; every fan triangle aspect ratio ~50; opposite/non-adjacent needles do not intersect.
Expected kernel behavior
recognize the outlier via a dihedral / aspect-ratio / distance-to-fitted-plane heuristic and either smooth the spike vertex back toward the patch plane or flag it; do not treat the needle-sliver fan as valid surface signal.
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 50.0 7 ], 8 [ 9 1.0, 10 0.0, 11 0.0 12 ], 13 [ 14 0.5000000000000001, 15 0.8660254037844386, 16 0.0 17 ], 18 [ 19 -0.49999999999999983, 20 0.8660254037844387, 21 0.0 22 ], 23 [ 24 -1.0, 25 1.2246467991473532e-16, 26 0.0 27 ], 28 [ 29 -0.5000000000000004, 30 -0.8660254037844384, 31 0.0 32 ], 33 [ 34 0.49999999999999933, 35 -0.866025403784439, 36 0.0 37 ] 38 ], 39 "triangles": [ 40 [ 41 0, 42 1, 43 2 44 ], 45 [ 46 0, 47 2, 48 3 49 ], 50 [ 51 0, 52 3, 53 4 54 ], 55 [ 56 0, 57 4, 58 5 59 ], 60 [ 61 0, 62 5, 63 6 64 ], 65 [ 66 0, 67 6, 68 1 69 ] 70 ], 71 "metadata": { 72 "id": "Me1184", 73 "schema_version": 0, 74 "defect_class": "spike_vertex", 75 "title": "out-of-plane spike vertex: one interior vertex of a flat patch displaced far off-surface, fanning extreme-aspect needle triangles with no self-intersection (outlier vertex)", 76 "assertions": [ 77 { 78 "kind": "triangle_aspect_ratio_gt", 79 "triangle": 0, 80 "gt": 30.0 81 }, 82 { 83 "kind": "triangle_aspect_ratio_gt", 84 "triangle": 1, 85 "gt": 30.0 86 }, 87 { 88 "kind": "triangle_aspect_ratio_gt", 89 "triangle": 2, 90 "gt": 30.0 91 }, 92 { 93 "kind": "triangle_aspect_ratio_gt", 94 "triangle": 3, 95 "gt": 30.0 96 }, 97 { 98 "kind": "triangle_aspect_ratio_gt", 99 "triangle": 4, 100 "gt": 30.0 101 }, 102 { 103 "kind": "triangle_aspect_ratio_gt", 104 "triangle": 5, 105 "gt": 30.0 106 }, 107 { 108 "kind": "triangles_do_not_intersect", 109 "triangles": [ 110 0, 111 3 112 ] 113 }, 114 { 115 "kind": "triangles_do_not_intersect", 116 "triangles": [ 117 0, 118 2 119 ] 120 }, 121 { 122 "kind": "hole_boundary", 123 "loop": [ 124 1, 125 2, 126 3, 127 4, 128 5, 129 6 130 ] 131 } 132 ] 133 } 134}