From 8ce68b253190973aba097d13d51a59f873fe8ab9 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Thu, 8 Feb 2007 10:43:02 +0000 Subject: [PATCH] derivation instead of typedef caused problem --- .../demo/Boolean_set_operations_2/typedefs.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Boolean_set_operations_2/demo/Boolean_set_operations_2/typedefs.h b/Boolean_set_operations_2/demo/Boolean_set_operations_2/typedefs.h index d09598d9e8b..5cc82042744 100644 --- a/Boolean_set_operations_2/demo/Boolean_set_operations_2/typedefs.h +++ b/Boolean_set_operations_2/demo/Boolean_set_operations_2/typedefs.h @@ -52,9 +52,10 @@ typedef CGAL::Lazy_exact_nt Coord_type; // workaround for VC++ struct Kernel : public CGAL::Cartesian {}; -typedef Kernel::Segment_2 Segment; -typedef Kernel::Point_2 Point_2; +typedef Kernel::Segment_2 Segment; +typedef Kernel::Point_2 Point_2; typedef Kernel::Circle_2 Circle; +typedef Kernel::Iso_rectangle_2 Iso_rectangle; typedef CGAL::Gps_circle_segment_traits_2 Traits; typedef Traits::Curve_2 Curve; @@ -65,7 +66,7 @@ typedef CGAL::General_polygon_with_holes_2 Polygon_with_holes; typedef CGAL::General_polygon_set_2 Polygon_set; typedef Polygon_with_holes::Hole_const_iterator Hole_const_iterator; -typedef CGAL::Iso_rectangle_2 Iso_rectangle; + typedef CGAL::Polygon_2 Linear_polygon_2; typedef CGAL::Polygon_with_holes_2 Linear_polygon_with_holes_2; #endif