mirror of https://github.com/CGAL/cgal
Misc cleaning
This commit is contained in:
parent
c8cc0747fa
commit
5578bf43ff
|
|
@ -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`.
|
||||
|
||||
\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 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`.
|
||||
|
||||
\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"
|
||||
|
||||
\param os output stream
|
||||
|
|
|
|||
|
|
@ -101,8 +101,8 @@ namespace IO {
|
|||
of the stream must be set to `BINARY`.
|
||||
|
||||
\tparam PointRange is a model of `ConstRange`. The value type of
|
||||
its iterator is the key type of the `PropertyMap` objects provided
|
||||
within the `PropertyHandler` parameter.
|
||||
its iterator is the key type of the `PropertyMap` objects provided
|
||||
within the `PropertyHandler` parameter.
|
||||
\tparam PropertyHandler handlers to recover properties.
|
||||
|
||||
\returns `true` if writing was successful, `false` otherwise.
|
||||
|
|
@ -152,7 +152,7 @@ template <typename PointRange,
|
|||
of the stream must be set to `BINARY`.
|
||||
|
||||
\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"
|
||||
|
||||
\param os output stream
|
||||
|
|
@ -220,11 +220,11 @@ bool write_PLY(std::ostream& os,
|
|||
|
||||
set_stream_precision_from_NP(os, np);
|
||||
|
||||
if (has_normals)
|
||||
if(has_normals)
|
||||
return write_PLY_with_properties(os, points,
|
||||
make_ply_point_writer(point_map),
|
||||
make_ply_normal_writer(normal_map));
|
||||
// else
|
||||
|
||||
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.
|
||||
|
||||
\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"
|
||||
|
||||
\param filename the path to the output file
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ bool read_STL(std::istream& is,
|
|||
if(!is.good())
|
||||
{
|
||||
if(verbose)
|
||||
std::cerr<<"File doesn't exist."<<std::endl;
|
||||
std::cerr << "File doesn't exist." << std::endl;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue