Skip to Content.
Sympa Menu

cgal-discuss - AW: [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

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


Chronological Thread 
  • From: <>
  • To: <>
  • Subject: AW: [cgal-discuss] 3D-mesh creation (Mesh_complex_3_in_triangulation_3) from *multiple* polyhedral surface meshes (Polyhedron_3)
  • Date: Tue, 19 May 2015 08:14:58 +0000
  • Accept-language: de-CH, en-US

Hi Jane,

Thanks a lot!


It seems, in order set Surface_patch_index, I first need an instance of MeshDomain_3....

I know how to build this domain from a single polyhedron using Polyhedral_mesh_domain_3. But it is not clear to me how to build it from multiple Polyhedrons, or how to combine those Polyhedrons into a single Polyhedron Mesh (preserving common boundaries) that could then be passed to Polyhedral__mesh__domain__with__features__3..


What would be the best way to do this?


Many thanks for any further hints!

Daniel


Von: []" im Auftrag von "Jane Tournois []
Gesendet: Montag, 18. Mai 2015 10:20
An:
Betreff: Re: [cgal-discuss] 3D-mesh creation (Mesh_complex_3_in_triangulation_3) from *multiple* polyhedral surface meshes (Polyhedron_3)

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