1 #include <CGAL/Exact_integer.h>
2 #include <CGAL/Homogeneous.h>
3 #include <CGAL/Extended_homogeneous.h>
4 #include <CGAL/Nef_polyhedron_3.h>
5 #include <CGAL/IO/Nef_polyhedron_iostream_3.h>
6 #include <fstream>
7 
8 typedef CGAL::Exact_integer  NT;
9 typedef CGAL::Homogeneous<NT>  SK;
10 typedef CGAL::Extended_homogeneous<NT>  EK;
11 typedef CGAL::Nef_polyhedron_3<SK>  Nef_polyhedron_S;
12 typedef CGAL::Nef_polyhedron_3<EK>  Nef_polyhedron_E;
13 
main()14 int main() {
15   Nef_polyhedron_E E;
16   Nef_polyhedron_S S;
17 
18   std::cin >> E;
19 
20   if(E.is_bounded()) {
21     std::ofstream out("temp.nef3");
22     out << E;
23     std::ifstream in("temp.nef3");
24     in >> S;
25   }
26 }
27