| 19 | constexpr size_t cMinCudaBufferSize = 1 << 24; // 16 MiB |
| 20 | |
| 21 | Expected<std::vector<MR::PointsProjectionResult>> findProjectionOnPoints( const PointCloud& pointCloud, |
| 22 | const std::vector<Vector3f>& points, const FindProjectionOnPointsSettings& settings ) |
| 23 | { |
| 24 | std::vector<MR::PointsProjectionResult> results; |
| 25 | PointsProjector projector; |
| 26 | return projector.setPointCloud( pointCloud ) |
| 27 | .and_then( [&] { return projector.findProjections( results, points, settings ); } ) |
| 28 | .transform( [&] { return results; } ); |
| 29 | } |
| 30 | |
| 31 | Expected<void> PointsProjector::setPointCloud( const PointCloud& pointCloud ) |
| 32 | { |
nothing calls this directly
no test coverage detected