Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Meshing

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Meshing


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Meshing
  • Date: Fri, 06 May 2011 08:17:54 +0200

Hello,

I don't get if your problem is in outputting the mesh to your specific
format or creating it.

S.

Bruce Duncan wrote:
Hi all,

I am writing a mesh generator with quite specific requirements. As a result, I need to output a polyhedron in CGNS format.

I can do the CGNS output very easily if I have a set of tetrahedra. In fact I have already implemented this to output a Triangulation_3.

At first I tried to use Triangulation_3 and it's siblings directly. However, they don't take into account edges and my concave polyhedra are destroyed in the process of triangulation. Is there a way around this?

Next, I turned to the Mesh_triangulation_3 class. This accepts a Polyhedron and gives access to a Triangulation_3. Excellent! The problem is that it does not respect the vertices and edges of the input Polyhedron. My application really depends on having the vertices remain in the same place. Other vertices and edges may be added, however. Is there a way to achieve this?

I have tried to use the Polyhedral_mesh_domain_with_features_3 class but without much success... I may post a test case about that next week.

Let me know if images or code would help clarify what I'm trying to do.

Thanks,
Bruce


------------------------------------------------------------------------

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.




Archive powered by MHonArc 2.6.16.

Top of Page