HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ImathVecAlgo.h File Reference
#include "ImathNamespace.h"
#include "ImathVec.h"
+ Include dependency graph for ImathVecAlgo.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class Vec >
IMATH_INTERNAL_NAMESPACE_HEADER_ENTER
IMATH_CONSTEXPR14 Vec 
closestVertex (const Vec &v0, const Vec &v1, const Vec &v2, const Vec &p) IMATH_NOEXCEPT
 

Function Documentation

template<class Vec >
IMATH_INTERNAL_NAMESPACE_HEADER_ENTER IMATH_CONSTEXPR14 Vec closestVertex ( const Vec &  v0,
const Vec &  v1,
const Vec &  v2,
const Vec &  p 
)

Find the vertex of triangle (v0, v1, v2) that is closest to point p (Vec2, Vec3, Vec4)

Definition at line 71 of file ImathVecAlgo.h.