#include "MRMeshFwd.h"
#include "MRId.h"
#include "MRProgressCallback.h"
#include <cfloat>
Go to the source code of this file.
|
MRMESH_API PointsProjectionResult | MR::findProjectionOnPoints (const Vector3f &pt, const PointCloud &pc, float upDistLimitSq=FLT_MAX, const AffineXf3f *xf=nullptr, float loDistLimitSq=0, VertPredicate skipCb={}) |
| computes the closest point on point cloud to given point
|
|
MRMESH_API void | MR::findFewClosestPoints (const Vector3f &pt, const PointCloud &pc, FewSmallest< PointsProjectionResult > &res, float upDistLimitSq=FLT_MAX, const AffineXf3f *xf=nullptr, float loDistLimitSq=0) |
| finds a number of the closest points in the cloud (as configured in
|
|
MRMESH_API Buffer< VertId > | MR::findNClosestPointsPerPoint (const PointCloud &pc, int numNei, const ProgressCallback &progress={}) |
| finds given number of closest points (excluding itself) to each valid point in the cloud;
|
|
MRMESH_API VertPair | MR::findTwoClosestPoints (const PointCloud &pc, const ProgressCallback &progress={}) |
| finds two closest points (first id < second id) in whole point cloud
|
|