| 29 | } |
| 30 | |
| 31 | Expected<void> PointsProjector::setPointCloud( const PointCloud& pointCloud ) |
| 32 | { |
| 33 | if ( auto res = copyDataFrom( pointCloud ) ) |
| 34 | { |
| 35 | data_ = std::move( *res ); |
| 36 | return {}; |
| 37 | } |
| 38 | else |
| 39 | { |
| 40 | return unexpected( std::move( res.error() ) ); |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | Expected<void> PointsProjector::findProjections( std::vector<MR::PointsProjectionResult>& results, |
| 45 | const std::vector<Vector3f>& points, const FindProjectionOnPointsSettings& settings ) const |
no test coverage detected