Misc cleaning

This commit is contained in:
Mael Rouxel-Labbé 2021-09-27 15:35:40 +02:00
parent c8cc0747fa
commit 5578bf43ff
3 changed files with 9 additions and 9 deletions

View File

@ -179,7 +179,7 @@ namespace LAS {
\attention To write to a binary file, the flag `std::ios::binary` must be set during the creation of the `ofstream`. \attention To write to a binary file, the flag `std::ios::binary` must be set during the creation of the `ofstream`.
\tparam PointRange is a model of `ConstRange`. The value type of \tparam PointRange is a model of `ConstRange`. The value type of
its iterator is the key type of the named parameter `point_map`. its iterator is the key type of the named parameter `point_map`.
\tparam PointMap is a model of `ReadablePropertyMap` with a value_type = `CGAL::Point_3`. \tparam PointMap is a model of `ReadablePropertyMap` with a value_type = `CGAL::Point_3`.
\tparam PropertyHandler handlers to recover properties. \tparam PropertyHandler handlers to recover properties.
@ -257,7 +257,7 @@ bool write_LAS_with_properties(std::ostream& os, ///< output stream.
\attention To write to a binary file, the flag `std::ios::binary` must be set during the creation of the `ofstream`. \attention To write to a binary file, the flag `std::ios::binary` must be set during the creation of the `ofstream`.
\tparam PointRange is a model of `ConstRange`. The value type of \tparam PointRange is a model of `ConstRange`. The value type of
its iterator is the key type of the named parameter `point_map`. its iterator is the key type of the named parameter `point_map`.
\tparam NamedParameters a sequence of \ref bgl_namedparameters "Named Parameters" \tparam NamedParameters a sequence of \ref bgl_namedparameters "Named Parameters"
\param os output stream \param os output stream

View File

@ -101,8 +101,8 @@ namespace IO {
of the stream must be set to `BINARY`. of the stream must be set to `BINARY`.
\tparam PointRange is a model of `ConstRange`. The value type of \tparam PointRange is a model of `ConstRange`. The value type of
its iterator is the key type of the `PropertyMap` objects provided its iterator is the key type of the `PropertyMap` objects provided
within the `PropertyHandler` parameter. within the `PropertyHandler` parameter.
\tparam PropertyHandler handlers to recover properties. \tparam PropertyHandler handlers to recover properties.
\returns `true` if writing was successful, `false` otherwise. \returns `true` if writing was successful, `false` otherwise.
@ -152,7 +152,7 @@ template <typename PointRange,
of the stream must be set to `BINARY`. of the stream must be set to `BINARY`.
\tparam PointRange is a model of `ConstRange`. The value type of \tparam PointRange is a model of `ConstRange`. The value type of
its iterator is the key type of the named parameter `point_map`. its iterator is the key type of the named parameter `point_map`.
\tparam NamedParameters a sequence of \ref bgl_namedparameters "Named Parameters" \tparam NamedParameters a sequence of \ref bgl_namedparameters "Named Parameters"
\param os output stream \param os output stream
@ -220,11 +220,11 @@ bool write_PLY(std::ostream& os,
set_stream_precision_from_NP(os, np); set_stream_precision_from_NP(os, np);
if (has_normals) if(has_normals)
return write_PLY_with_properties(os, points, return write_PLY_with_properties(os, points,
make_ply_point_writer(point_map), make_ply_point_writer(point_map),
make_ply_normal_writer(normal_map)); make_ply_normal_writer(normal_map));
// else
return write_PLY_with_properties(os, points, make_ply_point_writer(point_map)); return write_PLY_with_properties(os, points, make_ply_point_writer(point_map));
} }
@ -245,7 +245,7 @@ bool write_PLY(std::ostream& os, const PointRange& points,
\brief writes the range of `points` (positions + normals, if available) using \ref IOStreamPLY. \brief writes the range of `points` (positions + normals, if available) using \ref IOStreamPLY.
\tparam PointRange is a model of `ConstRange`. The value type of \tparam PointRange is a model of `ConstRange`. The value type of
its iterator is the key type of the named parameter `point_map`. its iterator is the key type of the named parameter `point_map`.
\tparam NamedParameters a sequence of \ref bgl_namedparameters "Named Parameters" \tparam NamedParameters a sequence of \ref bgl_namedparameters "Named Parameters"
\param filename the path to the output file \param filename the path to the output file

View File

@ -89,7 +89,7 @@ bool read_STL(std::istream& is,
if(!is.good()) if(!is.good())
{ {
if(verbose) if(verbose)
std::cerr<<"File doesn't exist."<<std::endl; std::cerr << "File doesn't exist." << std::endl;
return false; return false;
} }