Subject: CGAL users discussion list
List archive
- From: Jane Tournois <>
- To:
- Subject: Re: [cgal-discuss] add 0-d features
- Date: Thu, 8 Sep 2016 15:47:28 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
- Ironport-phdr: 9a23:GydK0xWD/M7ppEDrjraMVx4tW7XV8LGtZVwlr6E/grcLSJyIuqrYZxaCt8tkgFKBZ4jH8fUM07OQ6PG5HzJaqsnY+DBaKdoXBkdD0Z1X1yUbQ+e9QXXhK/DrayFoVO9jb3RCu0+BDE5OBczlbEfTqHDhpRQbGxH4KBYnbr+tQt2asc272qiI9oHJZE0Q3XzmMOo0ck/98lyZ9pFPx9AzcuBpklqBi0ALUtwe/XlvK1OXkkS0zeaL17knzR5tvek8/dVLS6TwcvdwZ7VZCDM7LzJ9v5Wz5lGQBTaJ/WYWB2UKjgJTUU+C9wD/Rp63sy3gt+M71jPdJtzzVblzWDKs6OBgRxbszSsGLDUk63qEtsslh61SpFetpgd03pXPSICTLvt3OK3HLv0AQm8UfM9XWmR9BZ6maYwOFKJVP+9eos/hoEYUqxy/HiGjCeTqxyNSl3H/1rE9yfVnGgbDil9zV+kSuWjZ+Y2mfJwZVvq4mfHF
Hi Nico, The basic meshing algorithm is : - initialize the triangulation with a small number of points to
help the refinement process start The protection of features is a part of the initialization procedure, and you can decide to make your own initialization by following the same framework as this example. So, the function `initialize_triangulation_from_labeled_image` is the function you need to replace with your own initialization procedure. It requires inserting the feature vertices as weighted points, maybe also protect some polylines, and basically put some points on important areas of the object to be meshed. Hope it helps, Jane. Le 08/09/2016 à 11:30, Nico Schlömer a
écrit :
Thanks Jane for the reply!
I've checked out the example [1] but didn't find it very enlightening. `random_labeled_image()`, `initialize_triangulation_from_labeled_image`? Perhaps a wrong link. Cheers,
Nico
[1] http://doc.cgal.org/4.9/Mesh_3/Mesh_3_2mesh_3D_image_with_custom_initialization_8cpp-example.html On Thu, Sep 8, 2016 at 10:22 AM Jane Tournois
<>
wrote:
Hi Nico,the functions that are available so far only allow to add polyline-features. In CGAL-4.9-beta1 [1], we have published an example showing how to customize the initialization of the meshing process [2]. Using the same framework, you can add a 0-d feature by inserting a weighted point at the tip of your cone. This way you can make sure it will be present in the output mesh. Best, Jane [1] http://www.cgal.org/2016/08/04/cgal49-beta1/ [2] http://doc.cgal.org/4.9/Mesh_3/Mesh_3_2mesh_3D_image_with_custom_initialization_8cpp-example.html Le 30/08/2016 à 12:27, Nico Schlömer a écrit : > Hi everyone, > > I'd like to mark the tip of a cone as a 0-dimensional feature; how to > do that? So far, I've only found 1D-feature addition [1]. > > Cheers, > Nico > > [1] > http://doc.cgal.org/latest/Mesh_3/classCGAL_1_1Mesh__domain__with__polyline__features__3.html#a2e99457765c639ab583d2dd1057160ea -- Jane Tournois, PhD R&D Engineer at GeometryFactory http://www.geometryfactory.com/ -- You are currently subscribed to cgal-discuss. To unsubscribe or access the archives, go to https://sympa.inria.fr/sympa/info/cgal-discuss -- Jane Tournois, PhD R&D Engineer at GeometryFactory http://www.geometryfactory.com/ |
- Re: [cgal-discuss] add 0-d features, Jane Tournois, 09/08/2016
- Re: [cgal-discuss] add 0-d features, Nico Schlömer, 09/08/2016
- Re: [cgal-discuss] add 0-d features, Jane Tournois, 09/08/2016
- Re: [cgal-discuss] add 0-d features, Nico Schlömer, 09/08/2016
- Re: [cgal-discuss] add 0-d features, Jane Tournois, 09/08/2016
- Re: [cgal-discuss] add 0-d features, Nico Schlömer, 09/08/2016
- Re: [cgal-discuss] add 0-d features, Jane Tournois, 09/08/2016
- Re: [cgal-discuss] add 0-d features, Nico Schlömer, 09/08/2016
- Re: [cgal-discuss] add 0-d features, Jane Tournois, 09/08/2016
- Re: [cgal-discuss] add 0-d features, Nico Schlömer, 09/08/2016
Archive powered by MHonArc 2.6.18.