Me033 — non-disk degenerate CC: collinear cluster with non-disk topology

§12.14 mesh defects (sub-class: degeneracy/non-disk-cc)

topology

Sources

Description

six collinear zero-area triangles are connected in a pattern that fails the topological disk test (v-e+f ≠ 1). Faces 0–3 form a linear strip; faces 4 and 5 add skip-one diagonal connections, creating a non-contractible loop in the cluster. CGAL marks the component as unremovable and continues the outer repair loop.

Reproducer recipe

v0-v5 at x=0..5 on the X axis; faces 0=`(v0,v1,v2)`, 1=`(v1,v2,v3)`, 2=`(v2,v3,v4)`, 3=`(v3,v4,v5)`, 4=`(v0,v2,v4)`, 5=`(v1,v3,v5)` — all zero area; interior edges `(v1,v2)`, `(v2,v3)`, `(v3,v4)` each shared by 2 faces.

Expected kernel behavior

collect degenerate CC; compute v-e+f; detect non-disk topology; skip removal and mark as unremovable.

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      2.0,
15      0.0,
16      0.0
17    ],
18    [
19      3.0,
20      0.0,
21      0.0
22    ],
23    [
24      4.0,
25      0.0,
26      0.0
27    ],
28    [
29      5.0,
30      0.0,
31      0.0
32    ]
33  ],
34  "triangles": [
35    [
36      0,
37      1,
38      2
39    ],
40    [
41      1,
42      2,
43      3
44    ],
45    [
46      2,
47      3,
48      4
49    ],
50    [
51      3,
52      4,
53      5
54    ],
55    [
56      0,
57      2,
58      4
59    ],
60    [
61      1,
62      3,
63      5
64    ]
65  ],
66  "metadata": {
67    "id": "Me033",
68    "schema_version": 0,
69    "defect_class": "degenerate_triangle",
70    "title": "non-disk degenerate CC: collinear cluster with non-disk topology (v-e+f\u22601)",
71    "assertions": [
72      {
73        "kind": "triangle_area_lt",
74        "triangle": 0,
75        "lt": 1e-12
76      },
77      {
78        "kind": "triangle_area_lt",
79        "triangle": 1,
80        "lt": 1e-12
81      },
82      {
83        "kind": "triangle_area_lt",
84        "triangle": 2,
85        "lt": 1e-12
86      },
87      {
88        "kind": "triangle_area_lt",
89        "triangle": 3,
90        "lt": 1e-12
91      },
92      {
93        "kind": "triangle_area_lt",
94        "triangle": 4,
95        "lt": 1e-12
96      },
97      {
98        "kind": "triangle_area_lt",
99        "triangle": 5,
100        "lt": 1e-12
101      },
102      {
103        "kind": "edge_shared_by_n_triangles",
104        "edge": [
105          1,
106          2
107        ],
108        "n": 2
109      },
110      {
111        "kind": "edge_shared_by_n_triangles",
112        "edge": [
113          2,
114          3
115        ],
116        "n": 2
117      },
118      {
119        "kind": "edge_shared_by_n_triangles",
120        "edge": [
121          3,
122          4
123        ],
124        "n": 2
125      }
126    ]
127  }
128}