I/O Functions for the 3D Manufacturing Format (3MF).
|
template<typename GraphRange > |
bool | CGAL::IO::write_3MF (const std::string &filename, const GraphRange &gs, const std::vector< std::string > &names) |
| writes the triangle meshes contained in gs into the file filename , using the 3D Manufacturing Format (3MF).
|
|
◆ write_3MF()
template<typename GraphRange >
bool CGAL::IO::write_3MF |
( |
const std::string & |
filename, |
|
|
const GraphRange & |
gs, |
|
|
const std::vector< std::string > & |
names |
|
) |
| |
#include <CGAL/boost/graph/IO/3MF.h>
writes the triangle meshes contained in gs
into the file filename
, using the 3D Manufacturing Format (3MF).
- Template Parameters
-
- Parameters
-
filename | the name of the 3mf file to write |
gs | a container of triangle meshes to write. An internal property map for CGAL::vertex_point_t must be available for each mesh. |
names | a range of std::string associating a name to each mesh to be written out, which will appear in the output |
- Returns
true
if the writing is successful, false
otherwise.
- See also
read_3MF()