diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-10-24 09:14:52 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-10-24 09:14:52 (GMT) |
commit | 45a99bfe3631d05b84e3dd86a0fa6f1e6debd8cd (patch) | |
tree | 2d2ab7de38ee18b27709657fcb45fcaba5fb8d33 /src/cgalutils.cc | |
parent | 5b92e171eae66a4be64cdd1b6ec114dbaf8e04e8 (diff) |
use target(), not source(), making 'simple' the 2d polygon
created during the 'flattening' process from 3d to 2d.
not sure why this works, but it does.
Diffstat (limited to 'src/cgalutils.cc')
-rw-r--r-- | src/cgalutils.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cgalutils.cc b/src/cgalutils.cc index 347fdd5..94e990a 100644 --- a/src/cgalutils.cc +++ b/src/cgalutils.cc @@ -9,7 +9,8 @@ typedef CGAL::Point_3<CGAL_Kernel3> CGAL_Point_3; typedef CGAL::Iso_cuboid_3<CGAL_Kernel3> CGAL_Iso_cuboid_3; typedef CGAL_Nef_polyhedron2::Explorer::Point CGAL_Point_2; -// Iso_rectangle is different- CGAL_Kernel2::Point != CGAL_Nef2::Explorer::Point +// Iso_rectangle needs to match CGAL_Nef2::Explorer::Point +// which is different than CGAL_Kernel2::Point typedef CGAL::Iso_rectangle_2< CGAL::Simple_cartesian<NT> > CGAL_Iso_rectangle_2; #include <boost/algorithm/string.hpp> |