summaryrefslogtreecommitdiff
path: root/src/cgal.h
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-10-28 13:56:23 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-10-28 13:56:23 (GMT)
commit4ecd9fa8a4ceeb49ec62a50197f4fa4da9276796 (patch)
treec298e527789aeecb2c742044683471a48c9acf1a /src/cgal.h
parent1dbcd7f4689fd0ed84997e2fb80a1b77e06f6b26 (diff)
refactor, cleanup, put code where it belongs, make simple logging class
Diffstat (limited to 'src/cgal.h')
-rw-r--r--src/cgal.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cgal.h b/src/cgal.h
index e5e39dd..c3b52a3 100644
--- a/src/cgal.h
+++ b/src/cgal.h
@@ -33,6 +33,7 @@ using boost::uintmax_t;
#include <CGAL/Polygon_with_holes_2.h>
#include <CGAL/minkowski_sum_2.h>
#include <CGAL/minkowski_sum_3.h>
+#include <CGAL/bounding_box.h>
#include <CGAL/assertions_behaviour.h>
#include <CGAL/exceptions.h>
@@ -54,6 +55,15 @@ typedef CGAL::Polyhedron_3<CGAL_Kernel3> CGAL_Polyhedron;
typedef CGAL_Polyhedron::HalfedgeDS CGAL_HDS;
typedef CGAL::Polyhedron_incremental_builder_3<CGAL_HDS> CGAL_Polybuilder;
+typedef CGAL::Point_3<CGAL_Kernel3> CGAL_Point_3;
+typedef CGAL::Iso_cuboid_3<CGAL_Kernel3> CGAL_Iso_cuboid_3;
+
+// The type given to Iso_rectangle_2 needs to match CGAL_Nef2::Explorer::Point
+// which is different than a CGAL_Kernel2::Point. Hence the suffix 'e'
+typedef CGAL_Nef_polyhedron2::Explorer::Point CGAL_Point_2e;
+typedef CGAL::Iso_rectangle_2< CGAL::Simple_cartesian<NT> > CGAL_Iso_rectangle_2e;
+
+
#ifdef PREV_NDEBUG
#define NDEBUG PREV_NDEBUG
#endif
contact: Jan Huwald // Impressum