fix halfedge status for opposite edges when removing border degenerate faces

This commit is contained in:
Jane Tournois 2025-04-14 11:14:49 +02:00
parent d5a2d332eb
commit 5b3356dbc6
1 changed files with 4 additions and 0 deletions

View File

@ -1699,6 +1699,10 @@ private:
{
set_status(hf, MESH_BORDER); //only 1 or 2 of the listed halfedges
//will survive face removal, but status will be correct
halfedge_descriptor hfo = opposite(hf, mesh_);
if(status(hfo) != MESH_BORDER)
set_status(hfo, PATCH_BORDER);
}
CGAL::Euler::remove_face(h, mesh_);
}