CGAL 5.6.1 - Surface Mesh
CGAL::IO Namespace Reference

Classes

class  Color
 

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. More...
 
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 Object File Format (OFF) and appends it to the surface mesh sm. More...
 
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 Object File Format (OFF). More...
 
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 Polygon File Format (PLY) and appends it to the surface mesh sm. More...
 
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 Polygon File Format (PLY). More...