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: Michael Bieri <>
  • To:
  • Subject: Re: [cgal-discuss] 3D Mesh creates extremely small elements
  • Date: Thu, 5 Oct 2017 13:09:21 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:DdDjdh05n6jZ6nkMsmDT+DRfVm0co7zxezQtwd8ZsesRIvad9pjvdHbS+e9qxAeQG96Eu7QZ06L/iOPJZy8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL2vpv2aq4DUONhL6PAtzbqSpS8+Bx/iwguu98pmWbwRTjyemeptzKg+3pEPfrJo4m4xnf4MwwRvAr38AUeVb32IgcVeSlRfx/MaY85tq8iAWsPUkoZ0TGZ7mdrg1GOQLRA8tNHo4sZG6uA==

Ok, I will try that.

But what I don't get: Why does it need so tiny elements to approximate the 1D features in some areas of the mesh, while it is perfectly fine with pretty large elements around 1D features in other areas?

On Thu, Oct 5, 2017 at 1:03 PM, Laurent Rineau (CGAL/GeometryFactory) <> wrote:

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