From 774e353c46371cd8a9142cd00a2ce59502cdc9e0 Mon Sep 17 00:00:00 2001 From: Efi Fogel Date: Tue, 11 Jan 2022 11:32:50 +0200 Subject: [PATCH 1/2] Should be Geometry_traits_2 and not Traits; used auto instead. --- .../Arr_spherical_gaussian_map_3.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Arrangement_on_surface_2/include/CGAL/Arr_spherical_gaussian_map_3/Arr_spherical_gaussian_map_3.h b/Arrangement_on_surface_2/include/CGAL/Arr_spherical_gaussian_map_3/Arr_spherical_gaussian_map_3.h index 43ba2d947c1..3dfd56071ca 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arr_spherical_gaussian_map_3/Arr_spherical_gaussian_map_3.h +++ b/Arrangement_on_surface_2/include/CGAL/Arr_spherical_gaussian_map_3/Arr_spherical_gaussian_map_3.h @@ -134,8 +134,7 @@ public: OutputIterator oi) { const Geometry_traits_2* traits = this->m_sgm.geometry_traits(); - typename Traits::Construct_point_2 ctr_point = - traits->construct_point_2_object(); + auto ctr_point = traits->construct_point_2_object(); Curve_2 cv = traits->construct_curve_2_object()(ctr_point(normal1.direction()), ctr_point(normal2.direction())); From 5b9eb5caae8ce59bb26819d8051219b68a20d9fa Mon Sep 17 00:00:00 2001 From: Efi Fogel Date: Tue, 11 Jan 2022 11:59:27 +0200 Subject: [PATCH 2/2] Fixed caption of the vertical-decomposition figure. --- .../Arrangement_on_surface_2/Arrangement_on_surface_2.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Arrangement_on_surface_2.txt b/Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Arrangement_on_surface_2.txt index dcb52051c82..4e4c0accd5e 100644 --- a/Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Arrangement_on_surface_2.txt +++ b/Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Arrangement_on_surface_2.txt @@ -2213,11 +2213,9 @@ vertex and the remaining one is vertical. \cgalFigureBegin{aos_fig-bounded_vd,bounded_vertical_decomposition.png} An arrangement of four line segments and its vertical decomposition into pseudo trapezoids, as constructed in \ref -Arrangement_on_surface_2/bounded_vertical_decomposition.cpp. The -segments of \f$\mathcal{S}_1\f$ are drawn in solid lines and the -segments of \f$\mathcal{S}_2\f$ are drawn in dark dashed lines. Note -that the segment \f$ s\f$ (light dashed line) overlaps one of the -segments in \f$\mathcal{S}_1\f$. +Arrangement_on_surface_2/bounded_vertical_decomposition.cpp. The +segments of the arrangement are drawn in solid blue lines and the +segments of the vertical decomposition are drawn in dark dotted lines. \cgalFigureEnd