MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::LinesSave Namespace Reference

Classes

struct  LinesSaver
 

Functions

MRMESH_API Expected< void > toMrLines (const Polyline3 &polyline, const std::filesystem::path &file, const SaveSettings &settings={})
 
MRMESH_API Expected< void > toMrLines (const Polyline3 &polyline, std::ostream &out, const SaveSettings &settings={})
 
MRMESH_API Expected< void > toPts (const Polyline3 &polyline, const std::filesystem::path &file, const SaveSettings &settings={})
 
MRMESH_API Expected< void > toPts (const Polyline3 &polyline, std::ostream &out, const SaveSettings &settings={})
 
MRMESH_API Expected< void > toDxf (const Polyline3 &polyline, const std::filesystem::path &file, const SaveSettings &settings={})
 
MRMESH_API Expected< void > toDxf (const Polyline3 &polyline, std::ostream &out, const SaveSettings &settings={})
 
MRMESH_API Expected< void > toPly (const Polyline3 &polyline, const std::filesystem::path &file, const SaveSettings &settings={})
 saves in .ply file
 
MRMESH_API Expected< void > toPly (const Polyline3 &polyline, std::ostream &out, const SaveSettings &settings={})
 
MRMESH_API Expected< void > 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 > toAnySupportedFormat (const Polyline3 &polyline, const std::string &extension, std::ostream &out, const SaveSettings &settings={})
 extension in *.ext format