Fixed typo in Bbox type

This commit is contained in:
Efi Fogel 2025-08-19 17:33:55 +03:00
parent d9766a2279
commit 30e041c966
2 changed files with 18 additions and 10 deletions

View File

@ -57,31 +57,39 @@ namespace CGAL {
*/ */
template <typename GeometryTraits, typename TopologyTraits> template <typename GeometryTraits, typename TopologyTraits>
void draw(const Arrangement_on_surface_2<GeometryTraits, TopologyTraits>& arr, const BBox& bbox, const GSOptions& gso, void draw(const Arrangement_on_surface_2<GeometryTraits, TopologyTraits>& arr,
const Bbox_2& bbox, const GSOptions& gso,
const char* title = "2D Arrangement on Surface"); const char* title = "2D Arrangement on Surface");
/*! \ingroup PkgArrangementOnSurface2Draw /*! \ingroup PkgArrangementOnSurface2Draw
* *
* A shortcut to `CGAL::draw(arr, bbox, Graphics_scene_options<Aos, Aos::Vertex_const_handle, Aos::Halfedge_const_handle, Aos::Face_const_handle>{})`, where `Aos` is `Arrangement_on_surface_2<GeometryTraits, TopologyTraits>`. * A shortcut to `CGAL::draw(arr, bbox, Graphics_scene_options<Aos,
* Aos::Vertex_const_handle, Aos::Halfedge_const_handle,
* Aos::Face_const_handle>{})`, where `Aos` is
* `Arrangement_on_surface_2<GeometryTraits, TopologyTraits>`.
*/ */
template <typename GeometryTraits, typename TopologyTraits> template <typename GeometryTraits, typename TopologyTraits>
void draw(const Arrangement_on_surface_2<GeometryTraits, TopologyTraits>& arr, const BBox& bbox, void draw(const Arrangement_on_surface_2<GeometryTraits, TopologyTraits>& arr,
const char* title = "2D Arrangement on Surface"); const Bbox_2& bbox, const char* title = "2D Arrangement on Surface");
/*! \ingroup PkgArrangementOnSurface2Draw /*! \ingroup PkgArrangementOnSurface2Draw
* *
* Similar to `CGAL::draw(arr, bbox, gso)`, where the bounding box `bbox` is computed to bound all points * Similar to `CGAL::draw(arr, bbox, gso)`, where the bounding box `bbox` is
* and curves of the arrangement in parameter space. * computed to bound all points and curves of the arrangement in parameter
* space.
*/ */
template <typename GeometryTraits, typename TopologyTraits> template <typename GeometryTraits, typename TopologyTraits>
void draw(const Arrangement_on_surface_2<GeometryTraits, TopologyTraits>& arr, const GSOptions& gso, void draw(const Arrangement_on_surface_2<GeometryTraits, TopologyTraits>& arr,
const char* title = "2D Arrangement on Surface"); const GSOptions& gso, const char* title = "2D Arrangement on Surface");
/*! \ingroup PkgArrangementOnSurface2Draw /*! \ingroup PkgArrangementOnSurface2Draw
* *
* A shortcut to `CGAL::draw(arr, Graphics_scene_options<Aos, Aos::Vertex_const_handle, Aos::Halfedge_const_handle, Aos::Face_const_handle>{})`, where `Aos` is `Arrangement_on_surface_2<GeometryTraits, TopologyTraits>`. * A shortcut to `CGAL::draw(arr, Graphics_scene_options<Aos,
* Aos::Vertex_const_handle, Aos::Halfedge_const_handle,
* Aos::Face_const_handle>{})`, where `Aos` is
* `Arrangement_on_surface_2<GeometryTraits, TopologyTraits>`.
*/ */
template <typename GeometryTraits, typename TopologyTraits> template <typename GeometryTraits, typename TopologyTraits>

View File

@ -41,7 +41,7 @@ public:
*/ */
template <typename OutputIterator> template <typename OutputIterator>
OutputIterator operator()(const X_monotone_curve_2& xcv, double error, OutputIterator oi, 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 */ }; /* end AosTraits::Approximate_2 */