Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] 3D-mesh creation (Mesh_complex_3_in_triangulation_3) from *multiple* polyhedral surface meshes (Polyhedron_3)

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] 3D-mesh creation (Mesh_complex_3_in_triangulation_3) from *multiple* polyhedral surface meshes (Polyhedron_3)


Chronological Thread 
  • From: Jane Tournois <>
  • To:
  • Subject: Re: [cgal-discuss] 3D-mesh creation (Mesh_complex_3_in_triangulation_3) from *multiple* polyhedral surface meshes (Polyhedron_3)
  • Date: Mon, 18 May 2015 10:20:49 +0200

Hi Adam,

you don't need to use the information that you have several polyhedral meshes (unless you mesh them separately).

What you should do is tag the faces of each sub-polyhedron with a different MeshDomain_3::Surface_patch_index (see concept MeshDomain_3) and you can re-use most of what is done in Polyhedral_mesh_domain_with_features_3.

Hope it helps

Jane.



Le 15/05/2015 14:10, Daniel Abler a écrit :
Hi All,   I am trying to implement a refinement tool for FEM meshes using CGAL (3D mesh Generation) and VTK ( mainly for file I/O). As part of this, I need to convert a VTK (unstructured) grid with multiple subdomains to a suitable CGAL domain on which a new 3D mesh (Mesh_complex_3_in_triangulation_3) can be created.   I managed to extract subdomain boundaries as polyhedral surface meshes (Polyhedron_3) and can create 3D meshes for each of them individually. However, what I would like to have instead is a single instance of Mesh_complex_3_in_triangulation_3 whose subdomains correspond to the domains defined by these surface meshes (closed, non-intersecting, shared boundaries).   The Mesh_3/mesh_implicit_domains.cpp example shows how to create 3D meshes from multiple implicit functions using the 'Implicit_multi_domain_to_labeling_function_wrapper'... Is there a similar wrapper for domain creation from multiple polyhedral meshes?   Many thanks in advance! Daniel              
-- 
Jane Tournois, PhD
R&D Engineer at GeometryFactory
http://www.geometryfactory.com/



Archive powered by MHonArc 2.6.18.

Top of Page