From 30e041c966d1aeb7e292ed67fdae0768d5869fc8 Mon Sep 17 00:00:00 2001 From: Efi Fogel Date: Tue, 19 Aug 2025 17:33:55 +0300 Subject: [PATCH] Fixed typo in Bbox type --- .../CGAL/draw_arrangement_2.h | 26 ++++++++++++------- .../AosTraits--ApproximateUnbounded_2.h | 2 +- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/Arrangement_on_surface_2/doc/Arrangement_on_surface_2/CGAL/draw_arrangement_2.h b/Arrangement_on_surface_2/doc/Arrangement_on_surface_2/CGAL/draw_arrangement_2.h index 7f2197f2aef..3660fd211d6 100644 --- a/Arrangement_on_surface_2/doc/Arrangement_on_surface_2/CGAL/draw_arrangement_2.h +++ b/Arrangement_on_surface_2/doc/Arrangement_on_surface_2/CGAL/draw_arrangement_2.h @@ -57,31 +57,39 @@ namespace CGAL { */ template -void draw(const Arrangement_on_surface_2& arr, const BBox& bbox, const GSOptions& gso, +void draw(const Arrangement_on_surface_2& arr, + const Bbox_2& bbox, const GSOptions& gso, const char* title = "2D Arrangement on Surface"); /*! \ingroup PkgArrangementOnSurface2Draw * - * A shortcut to `CGAL::draw(arr, bbox, Graphics_scene_options{})`, where `Aos` is `Arrangement_on_surface_2`. + * A shortcut to `CGAL::draw(arr, bbox, Graphics_scene_options{})`, where `Aos` is + * `Arrangement_on_surface_2`. */ template -void draw(const Arrangement_on_surface_2& arr, const BBox& bbox, - const char* title = "2D Arrangement on Surface"); +void draw(const Arrangement_on_surface_2& arr, + const Bbox_2& bbox, const char* title = "2D Arrangement on Surface"); /*! \ingroup PkgArrangementOnSurface2Draw * - * Similar to `CGAL::draw(arr, bbox, gso)`, where the bounding box `bbox` is computed to bound all points - * and curves of the arrangement in parameter space. + * Similar to `CGAL::draw(arr, bbox, gso)`, where the bounding box `bbox` is + * computed to bound all points and curves of the arrangement in parameter + * space. */ template -void draw(const Arrangement_on_surface_2& arr, const GSOptions& gso, - const char* title = "2D Arrangement on Surface"); +void draw(const Arrangement_on_surface_2& arr, + const GSOptions& gso, const char* title = "2D Arrangement on Surface"); /*! \ingroup PkgArrangementOnSurface2Draw * - * A shortcut to `CGAL::draw(arr, Graphics_scene_options{})`, where `Aos` is `Arrangement_on_surface_2`. + * A shortcut to `CGAL::draw(arr, Graphics_scene_options{})`, where `Aos` is + * `Arrangement_on_surface_2`. */ template diff --git a/Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Concepts/AosTraits--ApproximateUnbounded_2.h b/Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Concepts/AosTraits--ApproximateUnbounded_2.h index a341a50e722..6431ad05d9f 100644 --- a/Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Concepts/AosTraits--ApproximateUnbounded_2.h +++ b/Arrangement_on_surface_2/doc/Arrangement_on_surface_2/Concepts/AosTraits--ApproximateUnbounded_2.h @@ -41,7 +41,7 @@ public: */ template OutputIterator operator()(const X_monotone_curve_2& xcv, double error, OutputIterator oi, - const BBox& bbox, bool l2r = true) const; + const Bbox_2& bbox, bool l2r = true) const; /// @} }; /* end AosTraits::Approximate_2 */