MeshLib
 
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

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 > 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
 

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& )