MeshLib Documentation
Loading...
Searching...
No Matches
MRPointCloudDistance.h File Reference
#include "MRMeshFwd.h"
#include <cfloat>

Go to the source code of this file.

Namespaces

namespace  MR
 

Functions

MRMESH_API float MR::findMaxDistanceSqOneWay (const PointCloud &a, const PointCloud &b, const AffineXf3f *rigidB2A=nullptr, float maxDistanceSq=FLT_MAX)
 returns the maximum of the squared distances from each B-point to A-cloud
 
MRMESH_API float MR::findMaxDistanceSq (const PointCloud &a, const PointCloud &b, const AffineXf3f *rigidB2A=nullptr, float maxDistanceSq=FLT_MAX)
 returns the squared Hausdorff distance between two point clouds, that is the maximum of squared distances from each point to the other cloud (in both directions)