MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / setPointCloud

Method setPointCloud

source/MRCuda/MRCudaPointsProject.cpp:31–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31Expected<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
44Expected<void> PointsProjector::findProjections( std::vector<MR::PointsProjectionResult>& results,
45 const std::vector<Vector3f>& points, const FindProjectionOnPointsSettings& settings ) const

Callers 1

findProjectionOnPointsFunction · 0.45

Calls 3

copyDataFromFunction · 0.85
errorMethod · 0.80
unexpectedFunction · 0.50

Tested by

no test coverage detected