MeshLib Documentation
Loading...
Searching...
No Matches
MRLinesSave.h File Reference
#include "MRExpected.h"
#include "MRIOFilters.h"
#include "MRSaveSettings.h"
#include <filesystem>
#include <ostream>

Go to the source code of this file.

Namespaces

namespace  MR
 
namespace  MR::LinesSave
 

Functions

MRMESH_API Expected< void > MR::LinesSave::toMrLines (const Polyline3 &polyline, const std::filesystem::path &file, const SaveSettings &settings={})
 
MRMESH_API Expected< void > MR::LinesSave::toMrLines (const Polyline3 &polyline, std::ostream &out, const SaveSettings &settings={})
 
MRMESH_API Expected< void > MR::LinesSave::toPts (const Polyline3 &polyline, const std::filesystem::path &file, const SaveSettings &settings={})
 
MRMESH_API Expected< void > MR::LinesSave::toPts (const Polyline3 &polyline, std::ostream &out, const SaveSettings &settings={})
 
MRMESH_API Expected< void > MR::LinesSave::toDxf (const Polyline3 &polyline, const std::filesystem::path &file, const SaveSettings &settings={})
 
MRMESH_API Expected< void > MR::LinesSave::toDxf (const Polyline3 &polyline, std::ostream &out, const SaveSettings &settings={})
 
MRMESH_API Expected< void > MR::LinesSave::toAnySupportedFormat (const Polyline3 &polyline, const std::filesystem::path &file, const SaveSettings &settings={})
 detects the format from file extension and saves polyline in it
 
MRMESH_API Expected< void > MR::LinesSave::toAnySupportedFormat (const Polyline3 &polyline, const std::string &extension, std::ostream &out, const SaveSettings &settings={})
 extension in *.ext format