| 16 | { |
| 17 | |
| 18 | Expected<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 | |
| 27 | Expected<Polyline3> fromMrLines( std::istream & in, const LinesLoadSettings& settings ) |
| 28 | { |
nothing calls this directly
no test coverage detected