operator << and >> do not support normals or textures

This commit is contained in:
Andreas Fabri 2014-10-07 14:37:22 +02:00
parent f24ee33133
commit a2308a8e7d
1 changed files with 2 additions and 2 deletions

View File

@ -2084,7 +2084,7 @@ private: //------------------------------------------------------- private data
/// \relates Surface_mesh /// \relates Surface_mesh
/// Inserts the surface mesh in an output stream in Ascii OFF format. /// Inserts the surface mesh in an output stream in Ascii OFF format.
/// If the vertices have the property "v:normal" it is also inserted in the stream. /// None of the proprties is inserted in the stream.
/// \note `operator<<(std::ostream&,const P&)` must be defined. /// \note `operator<<(std::ostream&,const P&)` must be defined.
template <typename P> template <typename P>
std::ostream& operator<<(std::ostream& os, const Surface_mesh<P>& sm) std::ostream& operator<<(std::ostream& os, const Surface_mesh<P>& sm)
@ -2113,7 +2113,7 @@ private: //------------------------------------------------------- private data
} }
/// \relates Surface_mesh /// \relates Surface_mesh
/// Extracts the surface mesh from an input stream in Ascii OFF format. /// Extracts the surface mesh from an input stream in Ascii OFF format.
/// If the vertices have the property "v:normal" it is also extracted from the stream. /// The operator does not read files with vertex normals or textures.
/// \note `operator>>(std::istream&,const P&)` must be defined. /// \note `operator>>(std::istream&,const P&)` must be defined.
template <typename P> template <typename P>
std::istream& operator>>(std::istream& is, Surface_mesh<P>& sm) std::istream& operator>>(std::istream& is, Surface_mesh<P>& sm)