diff --git a/Arrangement_on_surface_2/include/CGAL/Arrangement_on_surface_with_history_2.h b/Arrangement_on_surface_2/include/CGAL/Arrangement_on_surface_with_history_2.h index 6f43c9ef757c..0c201db12984 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arrangement_on_surface_with_history_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Arrangement_on_surface_with_history_2.h @@ -820,49 +820,40 @@ class Arrangement_on_surface_with_history_2 : // Global insertion, removal and overlay functions. //----------------------------------------------------------------------------- -/*! - * Insert a curve into the arrangement (incremental insertion). +/*! Insert a curve into the arrangement (incremental insertion). * The inserted curve may not necessarily be x-monotone and may intersect the * existing arrangement. * \param arr The arrangement-with-history object. * \param cv The curve to be inserted. * \param pl A point-location object associated with the arrangement. */ -template -typename Arrangement_on_surface_with_history_2::Curve_handle -insert (Arrangement_on_surface_with_history_2& arr, - const typename GeomTraits::Curve_2& c, - const PointLocation& pl) -{ +template +typename Arrangement_on_surface_with_history_2:: + Curve_handle +insert(Arrangement_on_surface_with_history_2& arr, + const typename GeomTraits::Curve_2& c, const PointLocation& pl) { // Obtain an arrangement accessor and perform the insertion. - typedef Arrangement_on_surface_with_history_2 Arr_with_hist_2; - Arr_with_history_accessor arr_access (arr); - - return (arr_access.insert_curve (c, pl)); + using Awh = Arrangement_on_surface_with_history_2; + Arr_with_history_accessor arr_access(arr); + return arr_access.insert_curve(c, pl); } -/*! - * Insert a curve into the arrangement (incremental insertion). +/*! Insert a curve into the arrangement (incremental insertion). * The inserted curve may not necessarily be x-monotone and may intersect the * existing arrangement. The default "walk" point-location strategy is used * for inserting the curve. * \param arr The arrangement-with-history object. * \param cv The curve to be inserted. */ -template -typename Arrangement_on_surface_with_history_2::Curve_handle -insert (Arrangement_on_surface_with_history_2& arr, - const typename GeomTraits::Curve_2& c) -{ +template +typename Arrangement_on_surface_with_history_2:: + Curve_handle +insert(Arrangement_on_surface_with_history_2& arr, + const typename GeomTraits::Curve_2& c) { // Obtain an arrangement accessor and perform the insertion. - typedef Arrangement_on_surface_with_history_2 Arr_with_hist_2; - Arr_with_history_accessor arr_access (arr); - - return (arr_access.insert_curve (c)); + using Awh = Arrangement_on_surface_with_history_2; + Arr_with_history_accessor arr_access(arr); + return arr_access.insert_curve(c); }