diff --git a/Triangulation_3/include/CGAL/Regular_triangulation_3.h b/Triangulation_3/include/CGAL/Regular_triangulation_3.h index 63b0651b873..34bf93f938d 100644 --- a/Triangulation_3/include/CGAL/Regular_triangulation_3.h +++ b/Triangulation_3/include/CGAL/Regular_triangulation_3.h @@ -43,7 +43,6 @@ # include #endif - #include #include #include @@ -1850,7 +1849,7 @@ namespace CGAL { // We sort the points lexicographically. const Weighted_point * points[5] = {&p0, &p1, &p2, &p3, &p}; - // boost::bind is used twice, to grab the Bare_point within the Weighted_point* + // boost::bind is used twice, to grab the Bare_point within the Weighted_point*. // `result_of` is used to go around the way the Lazy kernel works // (simply grabbing it as a `const Bare_point&` would not work) std::sort(points, points + 5, @@ -1969,7 +1968,7 @@ namespace CGAL { // We sort the points lexicographically. const Weighted_point * points[4] = {&p0, &p1, &p2, &p}; - // boost::bind is used twice, to grab the Bare_point within the Weighted_point* + // boost::bind is used twice, to grab the Bare_point within the Weighted_point*. // `result_of` is used to go around the way the Lazy kernel works // (simply grabbing it as a `const Bare_point&` would not work) std::sort(points, points + 4, diff --git a/Triangulation_3/include/CGAL/Triangulation_hierarchy_3.h b/Triangulation_3/include/CGAL/Triangulation_hierarchy_3.h index 5fed80e3b6d..28b51a8374a 100644 --- a/Triangulation_3/include/CGAL/Triangulation_hierarchy_3.h +++ b/Triangulation_3/include/CGAL/Triangulation_hierarchy_3.h @@ -46,6 +46,9 @@ #include #include #include +#include +#include + #endif //CGAL_TRIANGULATION_3_DONT_INSERT_RANGE_OF_POINTS_WITH_INFO namespace CGAL { @@ -72,7 +75,6 @@ public: typedef Tr Tr_Base; typedef Fast_location Location_policy; typedef typename Tr_Base::Geom_traits Geom_traits; - typedef typename Tr_Base::Point Point; typedef typename Tr_Base::size_type size_type; typedef typename Tr_Base::Vertex_handle Vertex_handle; typedef typename Tr_Base::Cell_handle Cell_handle; @@ -84,6 +86,9 @@ public: typedef typename Tr_Base::Finite_facets_iterator Finite_facets_iterator; typedef typename Tr_Base::Finite_edges_iterator Finite_edges_iterator; + // this may be weighted or not + typedef typename Tr_Base::Point Point; + using Tr_Base::number_of_vertices; using Tr_Base::geom_traits;