14 #include <CGAL/Cartesian.h>
15 #include <CGAL/Polyhedron_3.h>
16 #include <CGAL/IO/Polyhedron_iostream.h>
17 #include <CGAL/Polyhedron_items_with_id_3.h>
29 std::ifstream in(filename);
32 std::cout <<
"Unable to read file " << filename << std::endl;
36 typedef CGAL::Cartesian< long double >
Kernel;
37 typedef CGAL::Polyhedron_3< Kernel, CGAL::Polyhedron_items_with_id_3 >
Mesh;
39 typedef Geometry::Scalar Scalar;
43 auto pos_pm =
get(boost::vertex_point, m);
46 std::cout <<
"Done." << std::endl;
50 main(
int narg,
char **argv)
54 std::cout <<
"Usage: " << argv[0]
55 <<
" filename; filename being an off file." << std::endl;