MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / fromMrLines

Function fromMrLines

source/MRMesh/MRLinesLoad.cpp:18–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16{
17
18Expected<Polyline3> fromMrLines( const std::filesystem::path & file, const LinesLoadSettings& settings )
19{
20 std::ifstream in( file, std::ifstream::binary );
21 if ( !in )
22 return unexpected( std::string( "Cannot open file for reading " ) + utf8string( file ) );
23
24 return addFileNameInError( fromMrLines( in, settings ), file );
25}
26
27Expected<Polyline3> fromMrLines( std::istream & in, const LinesLoadSettings& settings )
28{

Callers

nothing calls this directly

Calls 8

utf8stringFunction · 0.85
addFileNameInErrorFunction · 0.85
readByBlocksFunction · 0.85
unexpectedFunction · 0.70
readMethod · 0.45
resizeMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected