diff --git a/Polygon/include/CGAL/Polygon_2.h b/Polygon/include/CGAL/Polygon_2.h index eb75384d26e..7daadb643b8 100644 --- a/Polygon/include/CGAL/Polygon_2.h +++ b/Polygon/include/CGAL/Polygon_2.h @@ -516,18 +516,17 @@ transform(const Transformation& t, const Polygon_2& p); /// followed by the output of the coordinates of the vertices. /// @{ -/// Inserts the polygon `p` into the stream `os`. \pre The insert -/// operator must be defined for `Point_2`. +/// Reads a polygon from stream `is` and assigns it to `p`. +/// \pre The extract operator must be defined for `Point_2`. /// \memberof Polygon_2 template std::istream &operator>>(std::istream &is, Polygon_2& p); -/// Reads a polygon from stream `is` and assigns it -/// to `p`. \pre The extract operator must be defined for `Point_2`. +/// Inserts the polygon `p` into the stream `os`. +/// \pre The insert operator must be defined for `Point_2`. /// \memberof Polygon_2 template -std::ostream -&operator<<(std::ostream &os, const Polygon_2& p); +std::ostream &operator<<(std::ostream &os, const Polygon_2& p); /// @} // IO