mirror of https://github.com/CGAL/cgal
restore too agressive removal
This commit is contained in:
parent
b6ac238355
commit
c78dfa3d61
|
|
@ -363,6 +363,15 @@ CGAL_DEPRECATED bool read_off(std::istream& is, Surface_mesh<Point>& sm, const C
|
|||
return IO::read_OFF(is, sm, np);
|
||||
}
|
||||
|
||||
/*!
|
||||
\ingroup PkgSurfaceMeshIOFuncDeprecated
|
||||
\deprecated This function is deprecated since \cgal 5.3, `CGAL::IO::read_OFF(std::istream&, const Surface_mesh<Point>&)` should be used instead.
|
||||
*/
|
||||
template <typename Point>
|
||||
CGAL_DEPRECATED bool read_off(Surface_mesh<Point>& sm, const std::string& filename)
|
||||
{
|
||||
return IO::read_OFF(filename, sm, parameters::use_default_values());
|
||||
}
|
||||
#endif // CGAL_NO_DEPRECATED_CODE
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
@ -575,6 +584,16 @@ CGAL_DEPRECATED bool write_off(std::ostream& os, const Surface_mesh<Point>& sm,
|
|||
return IO::write_OFF(os, sm, np);
|
||||
}
|
||||
|
||||
/*!
|
||||
\ingroup PkgSurfaceMeshIOFuncDeprecated
|
||||
\deprecated This function is deprecated since \cgal 5.3, `CGAL::IO::write_OFF(std::ostream&, const Surface_mesh<Point>&)` should be used instead.
|
||||
*/
|
||||
template <typename Point>
|
||||
CGAL_DEPRECATED bool write_off(const Surface_mesh<Point>& sm, const std::string& filename)
|
||||
{
|
||||
return IO::write_OFF(filename, sm, parameters::all_default());
|
||||
}
|
||||
|
||||
#endif // CGAL_NO_DEPRECATED_CODE
|
||||
|
||||
} // namespace CGAL
|
||||
|
|
|
|||
Loading…
Reference in New Issue