Easy3D 2.5.3
|
Implementation of file input/output operations for SurfaceMesh. More...
#include <easy3d/fileio/surface_mesh_io.h>
Static Public Member Functions | |
static SurfaceMesh * | load (const std::string &file_name) |
Reads a surface mesh from a file. More... | |
static bool | save (const std::string &file_name, const SurfaceMesh *mesh) |
Saves a surface mesh to a file. More... | |
Implementation of file input/output operations for SurfaceMesh.
|
static |
Reads a surface mesh from a file.
File extension determines file format (ply, obj, off, stl, poly) and type (i.e. binary or ASCII).
file_name | The file name. |
|
static |
Saves a surface mesh to a file.
File extension determines file format (ply, obj, off, stl, poly) and type (i.e. binary or ASCII).
file_name | The file name. |
mesh | The surface mesh. |