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

Classes

struct  LinesSaver

Typedefs

using LinesFileSaver = Expected<void>( * )( const Polyline3&, const std::filesystem::path&, const SaveSettings& )
using LinesStreamSaver = Expected<void>( * )( const Polyline3&, std::ostream&, const SaveSettings& )

Functions

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

Typedef Documentation

◆ LinesFileSaver

using MR::LinesSave::LinesFileSaver = Expected<void>( * )( const Polyline3&, const std::filesystem::path&, const SaveSettings& )

◆ LinesStreamSaver

using MR::LinesSave::LinesStreamSaver = Expected<void>( * )( const Polyline3&, std::ostream&, const SaveSettings& )