8#ifndef IGL_POINT_SIMPLEX_SQUARED_DISTANCE_H
9#define IGL_POINT_SIMPLEX_SQUARED_DISTANCE_H
28 typename Derivedsqr_d,
31 const Eigen::MatrixBase<Derivedp> & p,
32 const Eigen::MatrixBase<DerivedV> & V,
33 const Eigen::MatrixBase<DerivedEle> & Ele,
34 const typename DerivedEle::Index i,
36 Eigen::PlainObjectBase<Derivedc> & c);
53 typename Derivedsqr_d,
57 const Eigen::MatrixBase<Derivedp> & p,
58 const Eigen::MatrixBase<DerivedV> & V,
59 const Eigen::MatrixBase<DerivedEle> & Ele,
60 const typename DerivedEle::Index i,
62 Eigen::PlainObjectBase<Derivedc> & c,
63 Eigen::PlainObjectBase<Derivedb> & b);
65#ifndef IGL_STATIC_LIBRARY
66# include "point_simplex_squared_distance.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
void point_simplex_squared_distance(const Eigen::MatrixBase< Derivedp > &p, const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedEle > &Ele, const typename DerivedEle::Index i, Derivedsqr_d &sqr_d, Eigen::PlainObjectBase< Derivedc > &c)
Determine squared distance from a point to linear simplex.