Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Help: how to load 3D tet mesh from file into c3t3 (sorry if noob)

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Help: how to load 3D tet mesh from file into c3t3 (sorry if noob)


Chronological Thread 
  • From: t doehring <>
  • To:
  • Subject: Re: [cgal-discuss] Help: how to load 3D tet mesh from file into c3t3 (sorry if noob)
  • Date: Thu, 11 Mar 2010 12:47:33 -0500

hi Laurent,
thanks for the info.
in my case, i actually just want to store a mesh created in cgal, and then reload it into another executable that runs a 'refinement'. basically this is so I can run multiple refinements (separate executables) in parallel on our 2048 node distributed cluster. So, in fact the mesh data should be perfectly suitable for c3t3 object... since it was created by cgal in the first place :)
any help is vastly, greatly appreciated. also, a loading method IMHO would be great for cgal users in general... even with the strict convexity and delaunay restrictions.
best,
todd

--

oo-o--o---o----o-----o------o-------o------o-----o----o---o--o-oo

 Todd C. Doehring, Ph.D.

 Assistant Professor

 School of Biomedical Engineering

 Drexel University

oo-o--o---o----o-----o------o-------o------o-----o----o---o--o-oo

 



Laurent Rineau (GeometryFactory) wrote:
On Thursday 11 March 2010 01:37:12 toddoe wrote:
  
but i can't figure out how to 'input' or read from a mesh file to a c3t3
'object'. i looked at the File_medit.h header and there's nothing for
loading, only for output (i think).

can anyone tell me or give me a snippet to load from a mesh file? My goal
is to generate meshes in CGAL, then manipulate them using my own matlab
code (for several reasons) and then load them back into cgal and run a
'refine'.
    

That is not possible. Not every triangulation of a domain can be loaded in a 
c3t3 object. The triangulation must be a 3D Delaunay triangulation of the 
convex hull of the vertices of the triangulation, like CGAL triangulations.

Most meshes produced or modified with an external mesh tool are not Delaunay 
triangulations.
For that reason, there is no such loading function.

  



Archive powered by MHonArc 2.6.16.

Top of Page