Skip to content

Test duplicateNonManifoldVertices on a vertex incident to two holes#6412

Merged
Fedr merged 2 commits into
masterfrom
test/duplicateDoubleHoleVertex
Jul 13, 2026
Merged

Test duplicateNonManifoldVertices on a vertex incident to two holes#6412
Fedr merged 2 commits into
masterfrom
test/duplicateDoubleHoleVertex

Conversation

@Fedr

@Fedr Fedr commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Adds a regression test for duplicateNonManifoldVertices covering a non-manifold vertex that joins two open triangle fans: two triangles {0,1,2} and {0,3,4} sharing only vertex #0, so four edges with origin at that vertex have a hole on one side (two with no left(e) and two with no right(e)).

The existing duplicateNonManifoldVertices test covers only two closed fans around the shared vertex; this adds the complementary hole-adjacent case, exercising the code path recently refactored in #6355 and #6405.

The test verifies that exactly one duplication #0 → #5 is reported, and checks both triangles in full afterwards: the first found fan keeps the original vertex ({0,1,2} unchanged) while the other one is rewritten to {5,3,4}.

@Fedr Fedr changed the title duplicateDoubleHoleVertex test Test duplicateNonManifoldVertices on a vertex incident to two holes Jul 13, 2026
@Fedr
Fedr merged commit d3d0b66 into master Jul 13, 2026
89 of 90 checks passed
@Fedr
Fedr deleted the test/duplicateDoubleHoleVertex branch July 13, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants