MeshLib Documentation
Loading...
Searching...
No Matches
MRTriDist.h File Reference
#include "MRVector3.h"

Go to the source code of this file.

Namespaces

namespace  MR
 

Functions

MRMESH_API float MR::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 MR::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.