MeshLib C Docs
Loading...
Searching...
No Matches
MRPointsInBall.h File Reference
#include <MRCMisc/exports.h>

Go to the source code of this file.

Typedefs

typedef struct MR_std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref MR_std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref

Functions

MRC_API void MR_findPointsInBall_MR_PointCloud (const MR_PointCloud *pointCloud, const MR_Ball3f *ball, const MR_std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref *foundCallback, const MR_AffineXf3f *xf)
MRC_API void MR_findPointsInBall_MR_Mesh (const MR_Mesh *mesh, const MR_Ball3f *ball, const MR_std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref *foundCallback, const MR_AffineXf3f *xf)
MRC_API void MR_findPointsInBall_MR_AABBTreePoints (const MR_AABBTreePoints *tree, const MR_Ball3f *ball, const MR_std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref *foundCallback, const MR_AffineXf3f *xf)

Typedef Documentation

◆ MR_std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref

Stores a functor of type: MR::Processing(const MR::PointsProjectionResult &, const MR::Vector3f &, MR::Ball3f &). Possibly stateful. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

Function Documentation

◆ MR_findPointsInBall_MR_AABBTreePoints()

MRC_API void MR_findPointsInBall_MR_AABBTreePoints ( const MR_AABBTreePoints * tree,
const MR_Ball3f * ball,
const MR_std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref * foundCallback,
const MR_AffineXf3f * xf )

Finds all points in tree that are inside or on the surface of given ball until callback returns Stop; the ball can shrink (new ball is always within the previous one) during the search but never expand

Parameters
xfpoints-to-center transformation, if not specified then identity transformation is assumed Generated from function MR::findPointsInBall. Parameter tree can not be null. It is a single object. Parameter ball can not be null. It is a single object. Parameter foundCallback can not be null. It is a single object. Parameter xf defaults to a null pointer in C++.

◆ MR_findPointsInBall_MR_Mesh()

MRC_API void MR_findPointsInBall_MR_Mesh ( const MR_Mesh * mesh,
const MR_Ball3f * ball,
const MR_std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref * foundCallback,
const MR_AffineXf3f * xf )

Finds all valid vertices of the mesh that are inside or on the surface of given ball until callback returns Stop; the ball can shrink (new ball is always within the previous one) during the search but never expand

Parameters
xfpoints-to-center transformation, if not specified then identity transformation is assumed Generated from function MR::findPointsInBall. Parameter mesh can not be null. It is a single object. Parameter ball can not be null. It is a single object. Parameter foundCallback can not be null. It is a single object. Parameter xf defaults to a null pointer in C++.

◆ MR_findPointsInBall_MR_PointCloud()

MRC_API void MR_findPointsInBall_MR_PointCloud ( const MR_PointCloud * pointCloud,
const MR_Ball3f * ball,
const MR_std_function_MR_Processing_from_const_MR_PointsProjectionResult_ref_const_MR_Vector3f_ref_MR_Ball3f_ref * foundCallback,
const MR_AffineXf3f * xf )

Finds all valid points of pointCloud that are inside or on the surface of given ball until callback returns Stop; the ball can shrink (new ball is always within the previous one) during the search but never expand

Parameters
xfpoints-to-center transformation, if not specified then identity transformation is assumed Generated from function MR::findPointsInBall. Parameter pointCloud can not be null. It is a single object. Parameter ball can not be null. It is a single object. Parameter foundCallback can not be null. It is a single object. Parameter xf defaults to a null pointer in C++.