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

Function newCallback

source/MRMesh/MRPointsInBall.cpp:10–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8{
9
10static auto newCallback( const FoundPointCallback& foundCallback )
11{
12 return [&foundCallback]( const PointsProjectionResult & found, const Vector3f& foundXfPos, Ball3f & )
13 {
14 foundCallback( found.vId, foundXfPos );
15 return Processing::Continue;
16 };
17}
18
19MRMESH_API void findPointsInBall( const PointCloud& pointCloud, const Ball3f & ball,
20 const OnPointInBallFound& foundCallback, const AffineXf3f* xf )

Callers 1

findPointsInBallFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected