diff options
author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-06-21 16:41:38 (GMT) |
---|---|---|
committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-06-21 16:41:38 (GMT) |
commit | e320641d0fddaa69fa1493fa99e447999bff78e9 (patch) | |
tree | 72e56c469ff7f2d6eeb318d9e3cabfc314e373a2 /openscad.h | |
parent | 1f08d77f548ed12186523e8e47f62441730ef985 (diff) |
Clifford Wolf:
Improved cube generation
Added simple off viewer
git-svn-id: http://svn.clifford.at/openscad/trunk@8 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'openscad.h')
-rw-r--r-- | openscad.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -27,6 +27,9 @@ #include <stdlib.h> #include <math.h> +#include <fstream> +#include <iostream> + class Value; class Expression; @@ -217,9 +220,13 @@ public: #include <CGAL/Cartesian.h> #include <CGAL/Polyhedron_3.h> #include <CGAL/Nef_polyhedron_3.h> +#include <CGAL/IO/Polyhedron_iostream.h> -typedef CGAL::Extended_cartesian<CGAL::Gmpq> CGAL_Kernel; +typedef CGAL::Cartesian<CGAL::Gmpq> CGAL_Kernel; +// typedef CGAL::Extended_cartesian<CGAL::Gmpq> CGAL_Kernel; typedef CGAL::Polyhedron_3<CGAL_Kernel> CGAL_Polyhedron; +typedef CGAL_Polyhedron::HalfedgeDS CGAL_HDS; +typedef CGAL::Polyhedron_incremental_builder_3<CGAL_HDS> CGAL_Polybuilder; typedef CGAL::Nef_polyhedron_3<CGAL_Kernel> CGAL_Nef_polyhedron; typedef CGAL_Nef_polyhedron::Aff_transformation_3 CGAL_Aff_transformation; typedef CGAL_Nef_polyhedron::Vector_3 CGAL_Vector; |