| 121 | } |
| 122 | |
| 123 | Expected<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 | |
| 132 | Expected<Polyline3> fromPly( std::istream& in, const LinesLoadSettings& settings ) |
| 133 | { |
nothing calls this directly
no test coverage detected