Me385 — isDoubleFlat_singular_edge_case: open 4-triangle fan with exactly one ridge; nne==1 at end → Branch 6 returns false

§12.14 mesh defects (sub-class: isDoubleFlat / singular-edge-case)

topology

Sources

Description

Vertex v0=(0,0,0) is the center of an open 4-triangle fan. The first 3 triangles (t0-t2) are flat (z=0); the 4th triangle t3 is raised (v5 at z=1). Interior fan edge (v0,v4) — shared by flat t2 and raised t3 — is the only ridge. After a full scan nne==1 (one ridge, one coplanar cluster). Branch 6 fires and returns false: a single crease line at a vertex cannot form a valid DoubleFlat (which requires two matched ridge edges).

Reproducer recipe

v0=(0,0,0), v1=(-1,0,0), v2=(-0.5,1,0), v3=(0.5,1,0), v4=(1,0,0), v5=(1.5,0,1); t0=(v0,v1,v2), t1=(v0,v2,v3), t2=(v0,v3,v4), t3=(v0,v4,v5); edges (v0,v1) and (v0,v5) are boundary (n=1).

Expected kernel behavior

Full scan finds exactly one interior ridge edge (v0,v4); nne==1; Branch 6 fires; returns false (singular non-manifold fold, not DoubleFlat).

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      -0.5,
15      1.0,
16      0.0
17    ],
18    [
19      0.5,
20      1.0,
21      0.0
22    ],
23    [
24      1.0,
25      0.0,
26      0.0
27    ],
28    [
29      1.5,
30      0.0,
31      1.0
32    ]
33  ],
34  "triangles": [
35    [
36      0,
37      1,
38      2
39    ],
40    [
41      0,
42      2,
43      3
44    ],
45    [
46      0,
47      3,
48      4
49    ],
50    [
51      0,
52      4,
53      5
54    ]
55  ],
56  "metadata": {
57    "id": "Me385",
58    "schema_version": 0,
59    "defect_class": "singular_half_fold_vertex",
60    "title": "isDoubleFlat_singular_edge_case: v0 has exactly one ridge edge (v0,v4) in open 4-triangle fan; nne==1 \u2192 Branch 6 returns false",
61    "assertions": [
62      {
63        "kind": "edge_shared_by_n_triangles",
64        "edge": [
65          0,
66          1
67        ],
68        "n": 1
69      },
70      {
71        "kind": "edge_shared_by_n_triangles",
72        "edge": [
73          0,
74          5
75        ],
76        "n": 1
77      },
78      {
79        "kind": "edge_shared_by_n_triangles",
80        "edge": [
81          0,
82          2
83        ],
84        "n": 2
85      },
86      {
87        "kind": "edge_shared_by_n_triangles",
88        "edge": [
89          0,
90          3
91        ],
92        "n": 2
93      },
94      {
95        "kind": "edge_shared_by_n_triangles",
96        "edge": [
97          0,
98          4
99        ],
100        "n": 2
101      },
102      {
103        "kind": "edge_shared_by_n_triangles",
104        "edge": [
105          1,
106          2
107        ],
108        "n": 1
109      },
110      {
111        "kind": "edge_shared_by_n_triangles",
112        "edge": [
113          2,
114          3
115        ],
116        "n": 1
117      },
118      {
119        "kind": "edge_shared_by_n_triangles",
120        "edge": [
121          3,
122          4
123        ],
124        "n": 1
125      },
126      {
127        "kind": "edge_shared_by_n_triangles",
128        "edge": [
129          4,
130          5
131        ],
132        "n": 1
133      }
134    ]
135  }
136}