Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Multiple domains mesh generation from 3D Polyhedral Domains

Subject: CGAL users discussion list

List archive

[cgal-discuss] Multiple domains mesh generation from 3D Polyhedral Domains


Chronological Thread 
  • From: tang <>
  • To:
  • Subject: [cgal-discuss] Multiple domains mesh generation from 3D Polyhedral Domains
  • Date: Sat, 29 Jun 2013 01:30:53 -0700 (PDT)

Dear CGAL developer,

I noticed that CGAL can generate quality mesh from 3D polyhedral domain from
here:
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Mesh_3/Chapter_main.html

one example shows as follows:
...

int main()
{
// Create input polyhedron
Polyhedron polyhedron;
std::ifstream input("data/elephant.off");
input >> polyhedron;

// Create domain
Mesh_domain domain(polyhedron);

// Mesh criteria (no cell_size set)
Mesh_criteria criteria(facet_angle=25, facet_size=0.15,
facet_distance=0.008,
cell_radius_edge_ratio=3);

// Mesh generation
C3t3 c3t3 = CGAL::make_mesh_3<C3t3>(domain, criteria, no_perturb(),
no_exude());
...


Now my questions are:
1) can CGAL work if there are multiple polyhedral defined, for example:
Mesh_domain domain1(polyhedron1), domain2(polyhedron2);
how to let CGAL generate mesh for domain1 and domain2? run
CGAL::make_mesh_3<C3t3>
one by one? however, in my project polyhedron1 is totally inside
polyhedron2, how to do?

2) if there are many common facets (triangles) in polyhedron1 and
polyhedron2, how to use this function to let the CGAL generate meshes which
are matched on the interface of two domains?

Thanks,
Zhanghong Tang





--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Multiple-domains-mesh-generation-from-3D-Polyhedral-Domains-tp4657732.html
Sent from the cgal-discuss mailing list archive at Nabble.com.


  • [cgal-discuss] Multiple domains mesh generation from 3D Polyhedral Domains, tang, 06/29/2013

Archive powered by MHonArc 2.6.18.

Top of Page