Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Export of 2d mesh to 'off' or Gmsh file format

Subject: CGAL users discussion list

List archive

[cgal-discuss] Export of 2d mesh to 'off' or Gmsh file format


Chronological Thread 
  • From: Danyang Su <>
  • To:
  • Subject: [cgal-discuss] Export of 2d mesh to 'off' or Gmsh file format
  • Date: Thu, 25 Feb 2016 02:51:49 -0800
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:6chwiBNGPiJHrLKcfLgl6mtUPXoX/o7sNwtQ0KIMzox0KP/zrarrMEGX3/hxlliBBdydsKIbzbSO+Pq6EUU7or+/81k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i760zceF13FOBZvIaytQ8iJ35vxibj5ocebSj4LrQT+SIs6FA+xowTVu5teqqpZAYF19CH0pGBVcf9d32JiKAHbtR/94sCt4MwrqHwI6Lpyv/JHBK71dqB9Qb1DByk9KEg04tfqvF/NV1ih/HwZB0kflAtBBQeN1wyyCpv4tDrzsOU7wzSyMsj/TLRyUjOnufQ4ACT0gTsKYmZquFrcjdZ92fpW

Hi All,

For the 3d mesh generation, I can export to 'off' format by using

// Mesh generation
C3t3 c3t3 = CGAL::make_mesh_3<C3t3>(domain, criteria);
// Output
std::ofstream medit_file(strfileout);
c3t3.output_to_medit(medit_file);
medit_file.close();

However, when I use Constrained_Delaunay_triangulation_2 and try to use output_to_medit function, it cannot be compiled. Is there any simple method to export the mesh to 'off' format?

Thanks and regards,

Danyang


  • [cgal-discuss] Export of 2d mesh to 'off' or Gmsh file format, Danyang Su, 02/25/2016

Archive powered by MHonArc 2.6.18.

Top of Page