Classes | |
struct | LinesLoader |
Typedefs | |
using | LinesFileLoader = Expected<Polyline3>( * )( const std::filesystem::path&, ProgressCallback ) |
using | LinesStreamLoader = Expected<Polyline3>( * )( std::istream&, ProgressCallback ) |
Functions | |
MRMESH_API Expected< Polyline3 > | fromMrLines (const std::filesystem::path &file, ProgressCallback callback={}) |
loads from .mrlines file | |
MRMESH_API Expected< Polyline3 > | fromMrLines (std::istream &in, ProgressCallback callback={}) |
MRMESH_API Expected< Polyline3 > | fromPts (const std::filesystem::path &file, ProgressCallback callback={}) |
loads from .pts file | |
MRMESH_API Expected< Polyline3 > | fromPts (std::istream &in, ProgressCallback callback={}) |
MRMESH_API Expected< Polyline3 > | fromAnySupportedFormat (const std::filesystem::path &file, ProgressCallback callback={}) |
detects the format from file extension and loads polyline from it | |
MRMESH_API Expected< Polyline3 > | fromAnySupportedFormat (std::istream &in, const std::string &extension, ProgressCallback callback={}) |
extension in *.ext format | |
using MR::LinesLoad::LinesFileLoader = Expected<Polyline3>( * )( const std::filesystem::path&, ProgressCallback ) |
using MR::LinesLoad::LinesStreamLoader = Expected<Polyline3>( * )( std::istream&, ProgressCallback ) |