mirror of https://github.com/CGAL/cgal
fixes
This commit is contained in:
parent
c4da8690cb
commit
7a5e821183
|
|
@ -24,6 +24,10 @@
|
|||
|
||||
#include <CGAL/license/Polyhedron.h>
|
||||
|
||||
#include <CGAL/boost/graph/named_function_params.h>
|
||||
#include <CGAL/boost/graph/named_params_helper.h>
|
||||
#include <CGAL/property_map.h>
|
||||
#include <boost/graph/graph_traits.hpp>
|
||||
#include <CGAL/basic.h>
|
||||
#include <CGAL/Inverse_index.h>
|
||||
#include <iostream>
|
||||
|
|
|
|||
|
|
@ -2032,13 +2032,17 @@ private: //------------------------------------------------------- private data
|
|||
return os.good();
|
||||
}
|
||||
|
||||
template <typename P>
|
||||
bool write_off(std::ostream& os, const Surface_mesh<P>& sm) {
|
||||
return write_off(os, sm, CGAL::parameters::all_default());
|
||||
}
|
||||
/// \relates Surface_mesh
|
||||
///
|
||||
/// This operator calls `write_off(std::ostream& os, const CGAL::Surface_mesh& sm)`.
|
||||
template <typename P>
|
||||
std::ostream& operator<<(std::ostream& os, const Surface_mesh<P>& sm)
|
||||
{
|
||||
write_off(os, sm);
|
||||
write_off(os, sm, CGAL::parameters::all_default());
|
||||
return os;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue