CGAL 5.4 - Surface Mesh
I/O Functions (Deprecated)

Functions

template<typename K >
CGAL_DEPRECATED bool CGAL::read_mesh (Surface_mesh< K > &sm, const std::string &filename)
 
template<typename K >
CGAL_DEPRECATED bool CGAL::write_mesh (const Surface_mesh< K > &mesh, const std::string &filename)
 
template<typename Point >
int CGAL::read_3mf (const std::string &filename, std::vector< CGAL::Surface_mesh< Point > > &output)
 
template<typename Point , typename NamedParameters >
bool CGAL::read_off (std::istream &is, Surface_mesh< Point > &sm, const NamedParameters &np)
 
template<typename Point >
bool CGAL::read_off (std::istream &is, Surface_mesh< Point > &sm)
 
template<typename Point >
bool CGAL::read_off (Surface_mesh< Point > &sm, const std::string &filename)
 
template<typename Point , typename NamedParameters >
bool CGAL::write_off (std::ostream &os, const Surface_mesh< Point > &sm, const NamedParameters &np)
 
template<typename Point >
bool CGAL::write_off (std::ostream &os, const Surface_mesh< Point > &sm)
 
template<typename Point >
bool CGAL::write_off (const Surface_mesh< Point > &sm, const std::string &filename)
 
template<typename P >
bool CGAL::read_ply (std::istream &is, Surface_mesh< P > &sm, std::string &comments)
 
template<typename P >
bool CGAL::write_ply (std::ostream &os, const Surface_mesh< P > &sm, const std::string &comments)
 

Function Documentation

◆ read_3mf()

template<typename Point >
int CGAL::read_3mf ( const std::string &  filename,
std::vector< CGAL::Surface_mesh< Point > > &  output 
)

#include <CGAL/Surface_mesh/IO/3MF.h>

Deprecated:
This function is deprecated since CGAL 5.3, CGAL::IO::read_3MF() should be used instead.

◆ read_mesh()

template<typename K >
CGAL_DEPRECATED bool CGAL::read_mesh ( Surface_mesh< K > &  sm,
const std::string &  filename 
)

#include <CGAL/Surface_mesh/IO.h>

Deprecated:
This function is deprecated since CGAL 5.3, CGAL::IO::read_polygon_mesh() should be used instead.

◆ read_off() [1/3]

template<typename Point , typename NamedParameters >
bool CGAL::read_off ( std::istream &  is,
Surface_mesh< Point > &  sm,
const NamedParameters &  np 
)

#include <CGAL/Surface_mesh/IO/OFF.h>

Deprecated:
This function is deprecated since CGAL 5.3, CGAL::IO::read_OFF(std::istream&, const Surface_mesh<Point>&) should be used instead.

◆ read_off() [2/3]

template<typename Point >
bool CGAL::read_off ( std::istream &  is,
Surface_mesh< Point > &  sm 
)

#include <CGAL/Surface_mesh/IO/OFF.h>

Deprecated:
This function is deprecated since CGAL 5.3, CGAL::IO::read_OFF(std::istream&, const Surface_mesh<Point>&) should be used instead.

◆ read_off() [3/3]

template<typename Point >
bool CGAL::read_off ( Surface_mesh< Point > &  sm,
const std::string &  filename 
)

#include <CGAL/Surface_mesh/IO/OFF.h>

Deprecated:
This function is deprecated since CGAL 5.3, CGAL::IO::read_OFF(std::istream&, const Surface_mesh<Point>&) should be used instead.

◆ read_ply()

template<typename P >
bool CGAL::read_ply ( std::istream &  is,
Surface_mesh< P > &  sm,
std::string &  comments 
)

#include <CGAL/Surface_mesh/IO/PLY.h>

Deprecated:
This function is deprecated since CGAL 5.3, CGAL::IO::read_PLY(std::ostream&, const Surface_mesh<Point>&) should be used instead.

◆ write_mesh()

template<typename K >
CGAL_DEPRECATED bool CGAL::write_mesh ( const Surface_mesh< K > &  mesh,
const std::string &  filename 
)

#include <CGAL/Surface_mesh/IO.h>

Deprecated:
This function is deprecated since CGAL 5.3, CGAL::IO::write_polygon_mesh() should be used instead.

◆ write_off() [1/3]

template<typename Point , typename NamedParameters >
bool CGAL::write_off ( std::ostream &  os,
const Surface_mesh< Point > &  sm,
const NamedParameters &  np 
)

#include <CGAL/Surface_mesh/IO/OFF.h>

Deprecated:
This function is deprecated since CGAL 5.3, CGAL::IO::write_OFF(std::ostream&, const Surface_mesh<Point>&) should be used instead.

◆ write_off() [2/3]

template<typename Point >
bool CGAL::write_off ( std::ostream &  os,
const Surface_mesh< Point > &  sm 
)

#include <CGAL/Surface_mesh/IO/OFF.h>

Deprecated:
This function is deprecated since CGAL 5.3, CGAL::IO::write_OFF(std::ostream&, const Surface_mesh<Point>&) should be used instead.

◆ write_off() [3/3]

template<typename Point >
bool CGAL::write_off ( const Surface_mesh< Point > &  sm,
const std::string &  filename 
)

#include <CGAL/Surface_mesh/IO/OFF.h>

Deprecated:
This function is deprecated since CGAL 5.3, CGAL::IO::write_OFF(std::ostream&, const Surface_mesh<Point>&) should be used instead.

◆ write_ply()

template<typename P >
bool CGAL::write_ply ( std::ostream &  os,
const Surface_mesh< P > &  sm,
const std::string &  comments 
)

#include <CGAL/Surface_mesh/IO/PLY.h>

Deprecated:
This function is deprecated since CGAL 5.3, CGAL::IO::write_PLY(std::ostream&, const Surface_mesh<Point>&) should be used instead.