Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Uniform surface mesh generation

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Uniform surface mesh generation


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Uniform surface mesh generation
  • Date: Tue, 27 Mar 2018 09:34:00 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:hBmNCx24H6+k2ZvrsmDT+DRfVm0co7zxezQtwd8ZseIQL/ad9pjvdHbS+e9qxAeQG9mDsLQc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q99pHPbQhEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb7S60/Vza/4KdxUBLmlTkJNzA5/m/UhMJ/gq1UrxC9qBJw2IPUfIOYOeBicq/Bc94XR2xMVdtRWSxbBYO8apMCA+QcM+lGtIbyvUAOrQe/BQayAuPk1zlGhnjs3a071OQhDRzN0AghEd0Qt3TUqcv6NLsIUeG1zKfH1ynMb+9R2Tfn6InEdx4tquyLULJrdcrRzlMvFwLCjlWMs4DlOjeV2/8Cs2ie9eVgVOavh3Q7pAF2pzii38EhgZTHiIISz1DL7yR5wIAtKNKkR050e9qkHIFXtyGAOIt6WtgtTH9yuCY51LIGvYC0fSgQxJs52hHfdvqKeJWL7BL7TOucIzh1iGh4dL6hhxu+60utxvPmWsS7zlpGtihIn9rWunwT2BHe69KLRuZ580qvwzqC1QDe5+dZKk4uj6XbMYQuwrsom5oTr0vDGij2lV3zjKCMd0Uk/vGk6uriYrn6v5OcOYB5hh/kPqQhncy/Bus4MgwQUGSB5eu807jj8VX4QLVMkPI2jrHUvZLVKMgBu6K1HQ9Y3pwg5hqhFTur38oUkWECLF1feRKHi4bpO0vJIPD9Ffq/mFCskDBxx/DHOb3hHo/BLn3HkLr6crZ97lRTyAs3zdxF+51UDbQBLOrpWkDtrNzYEgM5Mwuszun7B9VyzIceVXuSDa+YK6PdrUKI5vk0I+SXf48UuDP9K+A/6PL0jH85n0Udfaiz0pcNZnC4BKcuH0LManXlhpINEHwBoxElZO3sklyLFzBJNFioWKdprAo2Aou9EYbOQMiJh6aA2zvzXrJbYWVLFkqdP37ja4KeSrZGIHaJJsh7kzsYE72lY4Ak3BCq8gT9zuw0faLv5iQEuMe7h5BO7OrJmERqrG0mP4Gmy2iIClpMsCYNTj4y0rp4pBUkmFiG2Kl8xfdfEI4Kvq8bYkIBLZfZitdCJZXqQAuYJ4WGTV+nRpOtBjRjFotske9LWF50HpCZtj6G3yeuBOVIxbmCBZhx7aeEmnatfYByzHHJ0KRnhF4jEJNC

On 03/27/2018 02:06 AM, Shankar Kulumani wrote:
I am using the tutorialhere <https://doc.cgal.org/latest/Surface_mesher/Surface_mesher_2mesh_an_implicit_function_8cpp-example.html>to generate a mesh given an implicit function (an ellipsoid).

I have two questions:

1.

Is there a method to relate the mesh generation parameters
(|angular_bound|,|radius_bound|, and|distance_bound|) to the
resulting number of vertices and/or faces of the resulting mesh?

No you can't, the criteria allos to control the size and shape of the
triangles, as well as the error of the mesh wrt the input.

2.

Is there a method to ensure a uniform mesh over the surface? For
example, this Matlab code offers a uniform mesh generation
functionDistMesh <http://persson.berkeley.edu/distmesh/>.

As described here:
https://doc.cgal.org/latest/Surface_mesher/classCGAL_1_1Surface__mesh__default__criteria__3.html

If you want something uniform, you should pass the expected size
to radius_bound. However, note that all the triangles generated will
all have to respect the error or angle criteria. So in some parts
of you mesh you might have triangles thiner than expected (basically
where you have curvature). If you put looser value for these criteria
then the radius_bound should be the one imposing the constraints on
triangles generated.

Sebastien.


Thank you






Archive powered by MHonArc 2.6.18.

Top of Page