From 607ada33ea714e67f50487876319dbafb953f700 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Wed, 14 May 2025 09:48:44 +0100 Subject: [PATCH 1/2] Polygon: prefix functions with CGAL::IO --- Polygon/include/CGAL/General_polygon_with_holes_2.h | 4 ++-- Polygon/include/CGAL/Polygon_with_holes_2.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Polygon/include/CGAL/General_polygon_with_holes_2.h b/Polygon/include/CGAL/General_polygon_with_holes_2.h index 90b3bca3b48..097db4ada45 100644 --- a/Polygon/include/CGAL/General_polygon_with_holes_2.h +++ b/Polygon/include/CGAL/General_polygon_with_holes_2.h @@ -148,8 +148,8 @@ protected: This operator exports a `General_polygon_with_holes_2` to the output stream `os`. An \ascii and a binary format exist. The format can be selected with -the \cgal modifiers for streams, `set_ascii_mode()` and `set_binary_mode()`, -respectively. The modifier `set_pretty_mode()` can be used to allow for (a +the \cgal modifiers for streams, `GAL::IO::set_ascii_mode()` and `GAL::IO::set_binary_mode()`, +respectively. The modifier `GAL::IO::set_pretty_mode()` can be used to allow for (a few) structuring comments in the output. Otherwise, the output would be free of comments. The default for writing is \ascii without comments. diff --git a/Polygon/include/CGAL/Polygon_with_holes_2.h b/Polygon/include/CGAL/Polygon_with_holes_2.h index 7d581a28150..23dbb43b4b0 100644 --- a/Polygon/include/CGAL/Polygon_with_holes_2.h +++ b/Polygon/include/CGAL/Polygon_with_holes_2.h @@ -111,8 +111,8 @@ public: This operator exports a polygon with holes to the output stream `os`. An \ascii and a binary format exist. The format can be selected with -the \cgal modifiers for streams, `set_ascii_mode()` and `set_binary_mode()`, -respectively. The modifier `set_pretty_mode()` can be used to allow for (a +the \cgal modifiers for streams, `CGAL::IO::set_ascii_mode()` and `GAL::IO::set_binary_mode()`, +respectively. The modifier `GAL::IO::set_pretty_mode()` can be used to allow for (a few) structuring comments in the output. Otherwise, the output would be free of comments. The default for writing is \ascii without comments. From ad917a942172344668064ed32a5ad16fda8a2913 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Thu, 15 May 2025 07:44:00 +0200 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Laurent Rineau --- Polygon/include/CGAL/General_polygon_with_holes_2.h | 4 ++-- Polygon/include/CGAL/Polygon_with_holes_2.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Polygon/include/CGAL/General_polygon_with_holes_2.h b/Polygon/include/CGAL/General_polygon_with_holes_2.h index 097db4ada45..fb55b75c79e 100644 --- a/Polygon/include/CGAL/General_polygon_with_holes_2.h +++ b/Polygon/include/CGAL/General_polygon_with_holes_2.h @@ -148,8 +148,8 @@ protected: This operator exports a `General_polygon_with_holes_2` to the output stream `os`. An \ascii and a binary format exist. The format can be selected with -the \cgal modifiers for streams, `GAL::IO::set_ascii_mode()` and `GAL::IO::set_binary_mode()`, -respectively. The modifier `GAL::IO::set_pretty_mode()` can be used to allow for (a +the \cgal modifiers for streams, `CGAL::IO::set_ascii_mode()` and `CGAL::IO::set_binary_mode()`, +respectively. The modifier `CGAL::IO::set_pretty_mode()` can be used to allow for (a few) structuring comments in the output. Otherwise, the output would be free of comments. The default for writing is \ascii without comments. diff --git a/Polygon/include/CGAL/Polygon_with_holes_2.h b/Polygon/include/CGAL/Polygon_with_holes_2.h index 23dbb43b4b0..84451adf2a7 100644 --- a/Polygon/include/CGAL/Polygon_with_holes_2.h +++ b/Polygon/include/CGAL/Polygon_with_holes_2.h @@ -111,8 +111,8 @@ public: This operator exports a polygon with holes to the output stream `os`. An \ascii and a binary format exist. The format can be selected with -the \cgal modifiers for streams, `CGAL::IO::set_ascii_mode()` and `GAL::IO::set_binary_mode()`, -respectively. The modifier `GAL::IO::set_pretty_mode()` can be used to allow for (a +the \cgal modifiers for streams, `CGAL::IO::set_ascii_mode()` and `CGAL::IO::set_binary_mode()`, +respectively. The modifier `CGAL::IO::set_pretty_mode()` can be used to allow for (a few) structuring comments in the output. Otherwise, the output would be free of comments. The default for writing is \ascii without comments.