CGAL 6.1.2 - Surface Mesh: CGAL::IO Namespace Reference

CGAL 6.1.2 - Surface Mesh

Loading...
Searching...
No Matches
Functions
CGAL::IO Namespace Reference

## Functions
template<typename Point >
bool | read_3MF (const std::string &filename, std::vector< CGAL::Surface_mesh< Point > > &output)
| extracts the surface meshes from an input 3mf file and appends it to `output`.
template<typename Point , typename NamedParameters = CGAL::parameters::Default_named_parameters>
bool | read_OFF (std::istream &is, Surface_mesh< Point > &sm, const NamedParameters &np=parameters::default_values())
| extracts the surface mesh from an input stream in the IOStreamOFF and appends it to the surface mesh `sm`.
template<typename Point , typename NamedParameters = CGAL::parameters::Default_named_parameters>
bool | read_OFF (const std::string &fname, Surface_mesh< Point > &sm, const NamedParameters &np=parameters::default_values())
template<typename Point , typename NamedParameters = CGAL::parameters::Default_named_parameters>
bool | write_OFF (std::ostream &os, const Surface_mesh< Point > &sm, const NamedParameters &np=parameters::default_values())
| writes the surface mesh `sm` in the output stream, using the IOStreamOFF.
template<typename P >
bool | read_PLY (std::istream &is, Surface_mesh< P > &sm, std::string &comments, bool verbose=true)
| extracts the surface mesh from an input stream in the IOStreamPLY and appends it to the surface mesh `sm`.
template<typename P , typename NamedParameters = CGAL::parameters::Default_named_parameters>
bool | write_PLY (std::ostream &os, const Surface_mesh< P > &sm, const std::string &comments, const NamedParameters &np=parameters::default_values())
| inserts the surface mesh in an output stream in the IOStreamPLY.