Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] 3D Surface Mesh Generation: How to generate a surface with multiple components
Chronological Thread
- From: Laurent Rineau <>
- To:
- Subject: Re: [cgal-discuss] 3D Surface Mesh Generation: How to generate a surface with multiple components
- Date: Thu, 24 Apr 2008 15:16:51 +0200
- Organization: Inria, Sophia Antipolis, FRANCE
On Monday 21 April 2008 08:00:05 Mengda Wu wrote:
> Hi all,
>
> I am using CGAL Surface mesher to generate a surface from a 3D image. But
> it only output one connected component
> even if there are multiple components in the image.
>
> It seems that the surface mesher can output multiple components. Are
> there any examples on How I can achieve that?
Hi,
It is just a matter of initialization of the triangulation before the meshing
process. It is done by finding several points on the surface.
Can you identify your connected components? You would need to call functor
Construct_initial_points of the SurfaceMeshTraits_3 model you use once for
each connected component. Actually, that requires to create temporarily one
Implicit_surface_3 by connected component (with the same 3D image as first
parameter, and a different bounding sphere).
That operation should be easier in the next release of CGAL. I am working on
it.
--
Laurent Rineau
INRIA - Sophia Antipolis
BP 93, 2004 Route des Lucioles
06902 Sophia Antipolis Cedex FRANCE
Tel: +33 4 92 38 78 62 (Fax: +33.4.97.15.53.95)
- 3D Surface Mesh Generation: How to generate a surface with multiple components, Mengda Wu, 04/21/2008
- Re: [cgal-discuss] 3D Surface Mesh Generation: How to generate a surface with multiple components, Laurent Rineau, 04/24/2008
Archive powered by MHonArc 2.6.16.