Skip to content

Instantly share code, notes, and snippets.

View cesare-corrado's full-sized avatar

Cesare Corrado cesare-corrado

  • Imperial College London
  • London
View GitHub Profile
I used CGAL4.6 on a ubuntu 12.04 (64 bit) machine and g++ 4.6.3 compiler.
The code i used is the same CGAL-4.6/examples/Mesh_3/ mesh_3D_image.cpp, but with pipe.inr (see after) as input file and :
facet_angle = 30
facet_size = 0.8
facet_distance = 2
cell_rad_edge_ratio = 2.0
cell_size = 0.8
For creating the .img file i used the following matlab script:
spacings=[0.2 0.2 0.3];