mirror of https://github.com/CGAL/cgal
after Mael's review
This commit is contained in:
parent
89ba13f977
commit
36b66946b8
|
|
@ -161,7 +161,6 @@ bool read_PLY(std::istream& is,
|
|||
}
|
||||
|
||||
|
||||
|
||||
/*!
|
||||
\ingroup PkgBGLIoFuncsPLY
|
||||
|
||||
|
|
@ -333,10 +332,6 @@ bool read_PLY(const std::string& fname,
|
|||
\cgalParamNEnd
|
||||
\cgalNamedParamsEnd
|
||||
|
||||
\note The point and vector types of the point and normal property map must be `double`or `float`
|
||||
in order to respect the specification of the PLY file format.
|
||||
A `Cartesian_converter_property_map` can be used to convert the points and vectors on the fly.
|
||||
|
||||
\returns `true` if writing was successful, `false` otherwise.
|
||||
*/
|
||||
template <typename Graph, typename CGAL_NP_TEMPLATE_PARAMETERS>
|
||||
|
|
@ -576,10 +571,6 @@ bool write_PLY(std::ostream& os, const Graph& g, const CGAL_NP_CLASS& np = param
|
|||
\cgalParamNEnd
|
||||
\cgalNamedParamsEnd
|
||||
|
||||
\note The point and vector types of the point and normal property map must be `double`or `float`
|
||||
in order to respect the specification of the PLY file format.
|
||||
A `Cartesian_converter_property_map` can be used to convert the points and vectors on the fly.
|
||||
|
||||
\returns `true` if writing was successful, `false` otherwise.
|
||||
*/
|
||||
template <typename Graph, typename CGAL_NP_TEMPLATE_PARAMETERS>
|
||||
|
|
|
|||
|
|
@ -989,7 +989,6 @@ namespace IO {
|
|||
///
|
||||
/// \returns `true` if writing was successful, `false` otherwise.
|
||||
|
||||
|
||||
template <typename P,
|
||||
typename CGAL_NP_TEMPLATE_PARAMETERS>
|
||||
bool write_PLY(std::ostream& os,
|
||||
|
|
@ -1002,6 +1001,7 @@ bool write_PLY(std::ostream& os,
|
|||
typedef typename SMesh::Face_index FIndex;
|
||||
typedef typename SMesh::Edge_index EIndex;
|
||||
typedef typename SMesh::Halfedge_index HIndex;
|
||||
|
||||
if(!os.good())
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue