diff --git a/Circular_kernel_3/include/CGAL/Circular_kernel_3/Circular_arc_point_3.h b/Circular_kernel_3/include/CGAL/Circular_kernel_3/Circular_arc_point_3.h index bfb44edf9245..35dc8b46908c 100644 --- a/Circular_kernel_3/include/CGAL/Circular_kernel_3/Circular_arc_point_3.h +++ b/Circular_kernel_3/include/CGAL/Circular_kernel_3/Circular_arc_point_3.h @@ -211,7 +211,7 @@ class Circular_arc_point_3 const Root_for_spheres_2_3 & coordinates() const { return get_pointee_or_identity(base); } - const CGAL::Bbox_3 bbox() const { + CGAL::Bbox_3 bbox() const { return get_pointee_or_identity(base).bbox(); } diff --git a/Circular_kernel_3/include/CGAL/Circular_kernel_3/Line_arc_3.h b/Circular_kernel_3/include/CGAL/Circular_kernel_3/Line_arc_3.h index 9d10940f0aaf..d726f22b1fd7 100644 --- a/Circular_kernel_3/include/CGAL/Circular_kernel_3/Line_arc_3.h +++ b/Circular_kernel_3/include/CGAL/Circular_kernel_3/Line_arc_3.h @@ -168,7 +168,7 @@ namespace CGAL { return begin_less_xyz_than_end() ? target() : source(); } - const CGAL::Bbox_3 bbox() const { + CGAL::Bbox_3 bbox() const { return source().bbox() + target().bbox(); }