58MRMESH_API float TriDist( Vector3f & p, Vector3f & q,
const Vector3f s[3],
const Vector3f t[3] );
66 Vector3f &
X, Vector3f &
Y,
67 const Vector3f & P,
const Vector3f & A,
68 const Vector3f & Q,
const Vector3f & B);
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
Definition MRCameraOrientationPlugin.h:8
MRMESH_API float TriDist(Vector3f &p, Vector3f &q, const Vector3f s[3], const Vector3f t[3])
computes the closest points on two triangles, and returns the squared distance between them.
MRMESH_API void SegPoints(Vector3f &VEC, Vector3f &X, Vector3f &Y, const Vector3f &P, const Vector3f &A, const Vector3f &Q, const Vector3f &B)
Returns closest points between an segment pair.