27#ifndef EASY3D_FILEIO_POLY_MESH_IO_H
28#define EASY3D_FILEIO_POLY_MESH_IO_H
64 static bool save(
const std::string& file_name,
const PolyMesh* mesh);
Data structure representing a polyhedral mesh.
Definition: poly_mesh.h:50
Implementation of file input/output operations for PolyMesh.
Definition: poly_mesh_io.h:44
static PolyMesh * load(const std::string &file_name)
Reads a polyhedral mesh from a file.
Definition: poly_mesh_io.cpp:37
static bool save(const std::string &file_name, const PolyMesh *mesh)
Saves a polyhedral mesh to a file.
Definition: poly_mesh_io.cpp:76
bool save_mesh(const std::string &file_name, const PolyMesh *mesh)
Saves a polyhedral mesh to a MESH format file. This ASCII format is supported by Tetgen and Medit.
Definition: poly_mesh_io_mesh.cpp:302
bool save_plm(const std::string &file_name, const PolyMesh *mesh)
Saves a polyhedral mesh to a PLM format file. This is the built-in ASCII format of Easy3D.
Definition: poly_mesh_io_plm.cpp:119
bool load_pm(const std::string &file_name, PolyMesh *mesh)
Reads a polyhedral mesh from a PM format file. This is the built-in binary format of Easy3D.
Definition: poly_mesh_io_pm.cpp:43
bool load_mesh(const std::string &file_name, PolyMesh *mesh)
Reads a polyhedral mesh from a MESH format file. This ASCII format is supported by Tetgen and Medit.
Definition: poly_mesh_io_mesh.cpp:40
bool save_pm(const std::string &file_name, const PolyMesh *mesh)
Saves a polyhedral mesh to a PM format file. This is the built-in binary format of Easy3D.
Definition: poly_mesh_io_pm.cpp:108
bool load_plm(const std::string &file_name, PolyMesh *mesh)
Reads a polyhedral mesh from a PLM format file. This is the built-in ASCII format of Easy3D.
Definition: poly_mesh_io_plm.cpp:40
Definition: collider.cpp:182