PMP::isotropic_remeshing() - Fix removal of boundary degenerate faces (2/2) (#8845)

## Summary of Changes

This PR follows #8685 and fixes issue #8836

Thanks @vegechick123 for the report!

## Release Management

* Affected package(s): PMP
* Issue(s) solved (if any): fix #8836
* License and copyright ownership: unchanged
This commit is contained in:
Sebastien Loriot 2025-04-16 18:45:23 +02:00 committed by GitHub
commit 05dc5bef22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -1699,6 +1699,9 @@ private:
{ {
set_status(hf, MESH_BORDER); //only 1 or 2 of the listed halfedges set_status(hf, MESH_BORDER); //only 1 or 2 of the listed halfedges
//will survive face removal, but status will be correct //will survive face removal, but status will be correct
set_status(opposite(hf, mesh_), PATCH_BORDER); //idem
//some of them will not survive but setting status
//is cheaper then checking which should be set
} }
CGAL::Euler::remove_face(h, mesh_); CGAL::Euler::remove_face(h, mesh_);
} }