14#include <lagrange/SurfaceMesh.h>
15#include <lagrange/fs/filesystem.h>
16#include <lagrange/io/types.h>
18#ifdef LAGRANGE_ENABLE_LEGACY_FUNCTIONS
19 #include <lagrange/io/legacy/save_mesh.h>
34template <
typename Scalar,
typename Index>
36 std::ostream& output_stream,
37 const SurfaceMesh<Scalar, Index>& mesh,
48template <
typename Scalar,
typename Index>
50 const fs::path& filename,
51 const SurfaceMesh<Scalar, Index>& mesh,
Mesh input/output.
Definition detect_file_format.h:18
void save_mesh(std::ostream &output_stream, const SurfaceMesh< Scalar, Index > &mesh, FileFormat format, const SaveOptions &options={})
Save a mesh to a stream.
Definition save_mesh.cpp:30
Options used when saving a mesh or a scene.
Definition types.h:32