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

Function fromPts

source/MRMesh/MRPointsLoad.cpp:163–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163Expected<PointCloud> fromPts( const std::filesystem::path& file, const PointsLoadSettings& settings )
164{
165 std::ifstream in( file, std::ifstream::binary );
166 if ( !in )
167 return unexpected( std::string( "Cannot open file for reading " ) + utf8string( file ) );
168
169 return addFileNameInError( fromPts( in, settings ), file );
170}
171
172Expected<PointCloud> fromPts( std::istream& in, const PointsLoadSettings& settings )
173{

Callers

nothing calls this directly

Calls 15

utf8stringFunction · 0.85
addFileNameInErrorFunction · 0.85
hasBomFunction · 0.85
parseTextCoordinateFunction · 0.85
fromTextFunction · 0.85
readCharBufferFunction · 0.85
splitByLinesFunction · 0.85
ParallelForFunction · 0.85
subprogressFunction · 0.85
errorMethod · 0.80
unexpectedFunction · 0.70

Tested by

no test coverage detected