Files
cgal/Lab
Sebastien Loriot 183045099a Add parameter erase_even_duplicates to PMP::repair_polygon_soup (#9373)
## Summary of Changes

Add `erase_even_duplicates` parameter to `PMP::repair_polygon_soup()`.
If set to `true` and an even number of polygons are duplicates, all
duplicates are removed instead of keeping one.

This option is useful when transforming a manifold mesh may pinch parts
of the mesh and create duplicate faces. Removing duplicates in pairs
guarantees that non-manifold edges have an even number of incident
faces, which helps restore a consistent mesh structure without creating
holes.

## Release Management

* Affected package(s): PMP_Mesh_repair
* Issue(s) solved (if any):
* Feature/Small Feature (if any):
[Add_erase_policy_parameter_to_PMP::repair_polygon_soup](https://cgalwiki.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Add_erase_policy_parameter_to_PMP::repair_polygon_soup)
pre-approved --[Mael
Rouxel-Labbé](https://cgalwiki.geometryfactory.com/CGAL/Members/wiki/User:Mael_Rouxel-Labb%C3%A9)
16:36, 2 April 2026 (CEST)
* Link to compiled documentation (obligatory for small feature) [*wrong
link name to be changed*](httpssss://wrong_URL_to_be_changed/Manual/Pkg)
* License and copyright ownership: GF
2026-04-19 14:17:26 +02:00
..
2024-03-26 18:24:51 +01:00