Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] 3D Mesh creates extremely small elements

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] 3D Mesh creates extremely small elements


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] 3D Mesh creates extremely small elements
  • Date: Thu, 05 Oct 2017 13:03:05 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:0v8Hnh93zbVgXf9uRHKM819IXTAuvvDOBiVQ1KB90uocTK2v8tzYMVDF4r011RmSAtWdtqoMotGVmp6jcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47IXEDJunC58RIVHxz+M0I1erW0ScbuiJG82Om2vpHSeA5VnyGVYLVoLRzwox+CmNMRhN4oDq8s0BbPvjNyeuJbzH4gZXm8tjK7ycq3+ZN/6TV+svk98NRREO+yK6AxUKZVCihgKWEz6cT2nRLMRA/J4WETBDZF2iFUChTIuUmpFqz6tTH347Ys1Q==
  • Organization: GeometryFactory

Le Thursday, October 5, 2017 11:46:16 AM CEST Michael Bieri a écrit :

> I just uploaded the files to the Dropbox folder:

> https://www.dropbox.com/sh/lz8xmwhr3fg23qu/AAAZEpWnKzJyrjhNB006_-fVa?dl=0

>

> I further simplified it a bit, there's now just one region wit the

> ellipses. But the effect remains the same.

>

> There are the following files:

> - 01 - 04.png: The old images

> - dist.png, region.png: 2D view of the distance field and region supplied

> to the meser

> - img_elem_size.inr, img_regions.inr: 3D images for CGAL mesher

> - mesh: The mesh

> - Screenshot***: A screenshot of the mesh.

> - Furthermore, the source code. It's a bit of a mess because it was written

> and edited very quickly...

 

There is nothing unexpected in the result you got.

 

I propose a tiny patch, that uses a non-documented feature... Can `make_mesh_3` that way:

 

CGAL::parameters::internal::Mesh_3_options options;

options.nonlinear_growth_of_balls = true;

C3t3 c3t3 = CGAL::make_mesh_3<C3t3>(domain, criteria, options);

 

Then the 1D-meshing of curves will be dense were it is supposed to be.

 

--

Laurent Rineau, PhD

R&D Engineer at GeometryFactory http://www.geometryfactory.com/

Release Manager of the CGAL Project http://www.cgal.org/

 




Archive powered by MHonArc 2.6.18.

Top of Page