| 265 | } |
| 266 | |
| 267 | Expected<PointCloud> fromPly( const std::filesystem::path& file, const PointsLoadSettings& settings ) |
| 268 | { |
| 269 | std::ifstream in( file, std::ifstream::binary ); |
| 270 | if ( !in ) |
| 271 | return unexpected( std::string( "Cannot open file for reading " ) + utf8string( file ) ); |
| 272 | |
| 273 | return addFileNameInError( fromPly( in, settings ), file ); |
| 274 | } |
| 275 | |
| 276 | Expected<PointCloud> fromPly( std::istream& in, const PointsLoadSettings& settings ) |
| 277 | { |
nothing calls this directly
no test coverage detected