Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] mesh generation with sizing functions/fields
- Date: Thu, 1 Jul 2021 10:12:20 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-hdrordr: A9a23:aVEMuq02R223P0I9uCd0swqjBL4kLtp133Aq2lEZdPUnSL39qynOpoV/6faaslcssR0b9exofZPwI080lqQFgrX5X43NYOCOggLBEGgh1+HfKlbbcBEWmNQx6U4tSchD4ICcNzdHsfo=
- Ironport-phdr: A9a23:HyhN8xGI9gWWAYRVoH50e51Gf15LhN3EVzX9CrIZgr5DOp6u447ldBSGo6k03RmSA9iQtKgMotGVmpioYXYH75eFvSJKW713fDhBt/8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1Ifn+FpLPg8it2O2+5pnebx9GiTe8Yb5+Ixe7oRvMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v6bpgRh31hycdLzM37X/ZisJwgqxYrhyuqRNwzIzIb4+aL/d+YqHQcMkGSWZdUMtcVSpMCZ68YYsVCOoBOP5Vo4fgqVQQthSxHxKsBP/uyjBWgH/9wKs00+M7EQHH2wwgA88FvHDVotrrM6cSVP66zLXSzTTDb/1Zwyvy6JTPchA7ofCAWLx8etfWxEk0EwPFiU+QqY3iPzOJzOgNtmyb4vFvVeKqkWEnqgVxriKzyccrj4nEn4QYwU3L+itl2og6P8G4SFJlbt6+FptdryGUOot3T84+QGxmuCU3x74EtJC1fCYEyIkryhDDZvCZcIWF4xPuWuiRLztkmX9pZq+yigiv/EWvyuPxVce63EhMoyFYnNfMsXUN2AbS6siBUvZ98Uah2SqP1wDO8e5IO1w7la3eK5I53rEwmYAcsUDZEi/xgkX2g7eadkQi+uiy6uToeK/qppGGN4JylwrwMbwul9ShDegkNgUCRWuW9OSm2LH940H1Xa9Gg/I1n6XBs53XJt4XqrCkDwJRyIov9QizAym83NgFg3UKLFRIcw+dgYfzIVHBOvX4AO+/g1uylDdrwOjLPrj7DZXMKnjPibngfaxg50JFxgo+wtNS64hbCrEGJ/LzVUvxu8LCAhAlNAy0xv7rCNR71owARWKCGrGVPL/WvFOS5e8iI/OAaJELtDrgMfQo6P3jgWc8mVAHfKmp2ZUXaGq/HvRjO0iZen7sgtAbEWcLuQo+UPbmiFiGUTNIaHayWrgz5jA/CI68EYjDQYWtjKSb3CinBp1WenxGCleUHHj0eIWLQfMMZDuPLc9giTwLSaWhS5Q61Ry1rw/7y79nLvLO9SECtJLj0sJ15+zJmh0o+zx0FZfV72bYRG59miYERiQ9wbtkiU170FaKl6Zi0NJCEtkGrchEWA4hKZ/RyaReDMrzXR6JPviET1OrXs+3Lzg6UtUr0p5EKxJmH9K4jxffmS+uK7AQnr2PQpcz9/SPjDDKO89hxiOeh+EahF48T54XXYVHrqt29gyWGJSQ1kvFx+ClcqMT2COL/2CGnzLmVKRwXwt5UKGDVncaNBO+RTvR6UbLTrvoArMiYFIp9A==
The particular case you point is using the sizing field in this file:
https://github.com/CGAL/cgal/blob/master/Mesh_2/include/CGAL/Mesh_2/Lipschitz_sizing_field_2.h
It is not documented but it is tested in this test:
https://github.com/CGAL/cgal/blob/master/Mesh_2/test/Mesh_2/test_lipschitz.cpp
HTH,
Sebastien.
On 6/17/21 6:09 PM, Radovan Bast ( via cgal-discuss Mailing List) wrote:
dear all,
[I am relatively new to CGAL and new to this list]
Thanks so much for this super useful library!
I am using 2D Conforming Triangulations and Meshes [1] and would like the
triangle size to follow a sizing function.
In short, after a bit of trial and error I managed to do something like the
two left butterflies on slide 25 in presentation [2] but I am struggling with
creating any working code that uses a sizing function (right butterfly on
slide 25).
I would very much appreciate if somebody could point me to the source code
which generated that figure or any example that demonstrates this feature
which I could adapt for my use case. Any pointer will be appreciated. I have
spent quite a bit searching for this and also trying to reconstruct this from
looking at the CGAL source code but after many hours doing that, I though I'd
ask :-)
thank you!
radovan
[1] https://doc.cgal.org/latest/Mesh_2/index.html
[2] https://www-sop.inria.fr/geometrica/courses/master-vim/cgal-meshes.pdf
- Re: [cgal-discuss] mesh generation with sizing functions/fields, Sebastien Loriot (GeometryFactory), 07/01/2021
- Re: [cgal-discuss] mesh generation with sizing functions/fields, Radovan Bast, 07/05/2021
Archive powered by MHonArc 2.6.19+.