diff --git a/Alpha_shapes_2/include/CGAL/Alpha_shape_2.h b/Alpha_shapes_2/include/CGAL/Alpha_shape_2.h index 309b17dd5e1..6b410567b15 100644 --- a/Alpha_shapes_2/include/CGAL/Alpha_shape_2.h +++ b/Alpha_shapes_2/include/CGAL/Alpha_shape_2.h @@ -82,7 +82,9 @@ public: CGAL_static_assertion( (boost::is_same::value) ); CGAL_static_assertion( (boost::is_same::value) ); - typedef typename Gt::Point_2 Point; + typedef typename Dt::Point Point; + + typedef typename Gt::Point_2 Point_2; typedef typename Gt::Segment_2 Segment; typedef typename Gt::Line_2 Line; @@ -270,7 +272,7 @@ public: //----------- OUTPUT POINTS CONNECTED BY PAIRS ---------------------- - std::list Output(); + std::list Output(); std::ostream& op_ostream(std::ostream& os) const; @@ -1705,13 +1707,13 @@ operator<<(std::ostream& os, const Alpha_shape_2
& A) //------------------------------------------------------------------- template < class Dt, class EACT > -std::list::Point> +std::list::Point_2> Alpha_shape_2::Output () { typename Interval_edge_map::const_iterator edge_alpha_it; const Interval3* pInterval; - std::list L; + std::list L; if (get_mode() == REGULARIZED) {