39 const AffineXf3f * rigidB2A =
nullptr,
float upDistLimitSq = FLT_MAX );
47 const AffineXf3f* rigidB2A =
nullptr,
float upDistLimitSq = FLT_MAX );
62MRMESH_API float findMaxDistanceSq(
const MeshPart& a,
const MeshPart& b,
const AffineXf3f* rigidB2A =
nullptr,
float maxDistanceSq = FLT_MAX );
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
MRMESH_API MeshMeshSignedDistanceResult findSignedDistance(const MeshPart &a, const MeshPart &b, const AffineXf3f *rigidB2A=nullptr, float upDistLimitSq=FLT_MAX)
computes minimal distance between two meshes
MRMESH_API MeshMeshDistanceResult 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 float 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 f...
MRMESH_API float 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
Definition MRCameraOrientationPlugin.h:8
Definition MRMeshMeshDistance.h:16
float distSq
squared distance between a and b
Definition MRMeshMeshDistance.h:20
PointOnFace a
two closest points: from meshes A and B respectively
Definition MRMeshMeshDistance.h:18
PointOnFace b
Definition MRMeshMeshDistance.h:18
Definition MRMeshMeshDistance.h:25
PointOnFace b
Definition MRMeshMeshDistance.h:27
PointOnFace a
two closest points: from meshes A and B respectively
Definition MRMeshMeshDistance.h:27
float signedDist
signed distance between a and b, positive if meshes do not collide
Definition MRMeshMeshDistance.h:29
Definition MRMesh/MRPointOnFace.h:11