Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] clean a polyhedron
- Date: Tue, 18 Aug 2020 18:10:35 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:U+wgCxw2lCAqzeTXCy+O+j09IxM/srCxBDY+r6Qd0usXI/ad9pjvdHbS+e9qxAeQG9mCtbQd07Sd7PCocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmTuwbalvIBmqrAjducsbjIh/Iast1xXFpWdFdf5Lzm1yP1KTmBj85sa0/JF99ilbpuws+c1dX6jkZqo0VbNXAigoPGAz/83rqALMTRCT6XsGU2UZiQRHDg7Y5xznRJjxsy/6tu1g2CmGOMD9UL45VSi+46ptVRTljjoMOTwk/2HNksF+kbxVoByhqRJ8zYDbbo6aO/hica3SZt4aWWhMU9xNWyBdDI6xb40CBPcBM+ZCqIn9okMDoRWjCwayH+zg0CRIhmP33aIk1eQqDAfI3As6H9IPt3TUsMj+OKMTX++ry6nIyCvMb+9M2Tb96IbHaAwuoe2LXbJqccvdzEcjHB7Cg1WLrYzlOCmV1uUKs2iH9eZgUOavhnUoqwF0uDevx8MshpPViYISz1DJ7CN0y5s6KtOkUkB0e8KkEIdOuCGAMYt7WscvTmB0tCs01rEItoC2cSYKxZko2hPSa/KKfpWW7h/jVuucLjl1iW9ndby/hBu+7Eetx+n4W8Sp31hHrjZJnNfKu3sQ2RLT7c2HReF8/kenwTuAyw/T5ftAIUwukqrbMZEhzqYxlpoVq0TDHzX5lF/4jK+McEgv5+um6/z/b7n4upORM5V4hwL+P6g0hMCzH/k0PhIBUmSF4eiwyqfs8VHkTLhPkPI6jrPWvZXEKcgHu6K0BgFY3Zw95xqjCjqqzckXkHoZIF9Aeh+IkZXlNl7LLf34DvqyjU+jnTJxyPzaI7HsAZPAJWXZnrj7Z7Zy8UtcxRIzzd9B45JUDakMIPfpVU/wsNzUFxE4Mxapz+r+BtVw2Z0SVXiAAq+eN6PSvluI6fw1L+aQY48VvS7xK/kj5/HwkX80gUERcbWt0JcNa321Hu5qL1uHbXbxmNsMHnkGshI7TOPwiV2CVTBTZ2y1X6I5/jw7E4amDYDZRoCsh7yBwD23HphSZm1dBVCMFG3nd4SAW/sWdC2SJcphniQeVbe9U48hyQ2utAjixrV7Ierb4CkYuYv+29h0/O3ciQwy9SdvD8mGyGGMT2R0nnsSSDMs3aB/p1Z9ylaZ3qRijfxYD48b2vVSTw1vNYLA1/coTJfpSwfZd5GITkynS5OoG3YqX9cpypgPZUh6XN6thxSG0yuxCKIOjO+2Aocp+J7Rz2SkJ9ph022Uk+46nlw+S41OM3enj+hx7U/IFovRmgKYkaitMq8T1SqI+GaYxneVpxJkV1t7XqzBGHwefUDLts/R50XYTrboB650HBFGzJvIEaZAY8b1jFhADNPkItXZfyrxtGq3ABuU3KKiZYH2fH8MnW+VXFMAlBoS+mrAMAwWCSKoomaYBztrQwG8K3jw+PVz/SvoBnQ/yBuHOhU4i+iFvyUNjPnZcMs9m6oesX54+TpxFVe5mdnRDojY/lczTOBnedo4pWx/+yfZugh6ZMHyKqljghsBaV0ysR+0kRpwDYpEnI4hq3Z4lFMje5Ld60tIcnaj5b61P7TWLmfo+xX2MvzZ31jf1JCd/aJdsfk=
You can either directly isotropically remesh the modified region like in this example:
https://doc.cgal.org/latest/Polygon_mesh_processing/#title21
or you can use the non-documented function: remove_almost_degenerate_faces() defined in CGAL/Polygon_mesh_processing/repair_degeneracies.h
also on the set of selected faces.
The first option is better is you want to keep the shape of the intersection polyline but is not really atomic. The second option
is atomic but it would require a first pass on the intersection edges
if you want to preserve the intersection curve shape.
Best,
Sebastien.
On 8/18/20 1:06 PM, Antoine Lavenant wrote:
Hi,
After some boolean operations, a triangulated polyhedron may have small triangles.
I'd like to know if there is an easy way to clean it, by merging closed vertex by exemple ?
Thanks,
Antoine
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- [cgal-discuss] clean a polyhedron, Antoine Lavenant, 08/18/2020
- Re: [cgal-discuss] clean a polyhedron, Sebastien Loriot (GeometryFactory), 08/18/2020
- RE: [cgal-discuss] clean a polyhedron, Antoine Lavenant, 08/20/2020
- Re: [cgal-discuss] clean a polyhedron, Sebastien Loriot (GeometryFactory), 08/24/2020
- RE: [cgal-discuss] clean a polyhedron, Antoine Lavenant, 08/25/2020
- Re: [cgal-discuss] clean a polyhedron, Sebastien Loriot (GeometryFactory), 08/24/2020
- RE: [cgal-discuss] clean a polyhedron, Antoine Lavenant, 08/20/2020
- Re: [cgal-discuss] clean a polyhedron, Sebastien Loriot (GeometryFactory), 08/18/2020
Archive powered by MHonArc 2.6.19+.