MeshLib
 
Loading...
Searching...
No Matches
Lines Load

Functions

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

Variables

MRMESH_API const IOFilters MR::LinesLoad::Filters
 

Detailed Description

Function Documentation

◆ fromAnySupportedFormat() [1/2]

MRMESH_API Expected< Polyline3 > MR::LinesLoad::fromAnySupportedFormat ( const std::filesystem::path & file,
ProgressCallback callback = {} )

detects the format from file extension and loads polyline from it

◆ fromAnySupportedFormat() [2/2]

MRMESH_API Expected< Polyline3 > MR::LinesLoad::fromAnySupportedFormat ( std::istream & in,
const std::string & extension,
ProgressCallback callback = {} )

extension in *.ext format

◆ fromMrLines() [1/2]

MRMESH_API Expected< Polyline3 > MR::LinesLoad::fromMrLines ( const std::filesystem::path & file,
ProgressCallback callback = {} )

loads from .mrlines file

◆ fromMrLines() [2/2]

MRMESH_API Expected< Polyline3 > MR::LinesLoad::fromMrLines ( std::istream & in,
ProgressCallback callback = {} )

◆ fromPts() [1/2]

MRMESH_API Expected< Polyline3 > MR::LinesLoad::fromPts ( const std::filesystem::path & file,
ProgressCallback callback = {} )

loads from .pts file

◆ fromPts() [2/2]

MRMESH_API Expected< Polyline3 > MR::LinesLoad::fromPts ( std::istream & in,
ProgressCallback callback = {} )

Variable Documentation

◆ Filters

MRMESH_API const IOFilters MR::LinesLoad::Filters
extern