MeshLib C++ Docs
Loading...
Searching...
No Matches
MRMeshC/MRMeshMeshDistance.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4#include "MRMeshPart.h"
5#include "MRPointOnFace.h"
6
8
17
24 const MRAffineXf3f* rigidB2A, float upDistLimitSq );
25
#define MR_EXTERN_C_BEGIN
Definition MRMeshC/MRMeshFwd.h:26
#define MR_EXTERN_C_END
Definition MRMeshC/MRMeshFwd.h:27
#define MRMESHC_API
Definition MRMeshC/MRMeshFwd.h:19
MR_EXTERN_C_BEGIN struct MRMeshMeshDistanceResult MRMeshMeshDistanceResult
MRMESHC_API MRMeshMeshDistanceResult mrFindDistance(const MRMeshPart *a, const MRMeshPart *b, const MRAffineXf3f *rigidB2A, float upDistLimitSq)
computes minimal distance between two meshes or two mesh regions
affine transformation: y = A*x + b, where A in VxV, and b in V
Definition MRMeshC/MRAffineXf.h:10
Definition MRMeshC/MRMeshMeshDistance.h:10
MRPointOnFace b
Definition MRMeshC/MRMeshMeshDistance.h:12
MRPointOnFace a
two closest points: from meshes A and B respectively
Definition MRMeshC/MRMeshMeshDistance.h:12
float distSq
squared distance between a and b
Definition MRMeshC/MRMeshMeshDistance.h:15
stores reference on whole mesh (if region is NULL) or on its part (if region pointer is valid)
Definition MRMeshC/MRMeshPart.h:9
Definition MRMeshC/MRPointOnFace.h:11