#include "MRPointOnFace.h"
#include "MRMeshPart.h"
#include <cfloat>
Go to the source code of this file.
|
MRMESH_API MeshMeshDistanceResult | MR::findDistance (const MeshPart &a, const MeshPart &b, const AffineXf3f *rigidB2A=nullptr, float upDistLimitSq=FLT_MAX) |
| computes minimal distance between two meshes or two mesh regions
|
|
MRMESH_API MeshMeshSignedDistanceResult | MR::findSignedDistance (const MeshPart &a, const MeshPart &b, const AffineXf3f *rigidB2A=nullptr, float upDistLimitSq=FLT_MAX) |
| computes minimal distance between two meshes
|
|
MRMESH_API float | MR::findMaxDistanceSqOneWay (const MeshPart &a, const MeshPart &b, const AffineXf3f *rigidB2A=nullptr, float maxDistanceSq=FLT_MAX) |
| returns the maximum of the squared distances from each B-mesh vertex to A-mesh
|
|
MRMESH_API float | MR::findMaxDistanceSq (const MeshPart &a, const MeshPart &b, const AffineXf3f *rigidB2A=nullptr, float maxDistanceSq=FLT_MAX) |
| returns the squared Hausdorff distance between two meshes, that is the maximum of squared distances from each mesh vertex to the other mesh (in both directions)
|
|