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

Function fromPly

source/MRMesh/MRLinesLoad.cpp:123–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123Expected<Polyline3> fromPly( const std::filesystem::path& file, const LinesLoadSettings& settings )
124{
125 std::ifstream in( file, std::ifstream::binary );
126 if ( !in )
127 return unexpected( std::string( "Cannot open file for reading " ) + utf8string( file ) );
128
129 return addFileNameInError( fromPly( in, settings ), file );
130}
131
132Expected<Polyline3> fromPly( std::istream& in, const LinesLoadSettings& settings )
133{

Callers

nothing calls this directly

Calls 11

utf8stringFunction · 0.85
addFileNameInErrorFunction · 0.85
subprogressFunction · 0.85
reportProgressFunction · 0.85
errorMethod · 0.80
makeEdgesMethod · 0.80
unexpectedFunction · 0.70
loadPlyFunction · 0.70
vertResizeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected