libigl v2.5.0
Loading...
Searching...
No Matches
point_simplex_squared_distance.h File Reference
#include "igl_inline.h"
#include <Eigen/Core>
#include "point_simplex_squared_distance.cpp"

Go to the source code of this file.

Namespaces

namespace  igl

Functions

template<int DIM, typename Derivedp, typename DerivedV, typename DerivedEle, typename Derivedsqr_d, typename Derivedc>
void igl::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.
template<int DIM, typename Derivedp, typename DerivedV, typename DerivedEle, typename Derivedsqr_d, typename Derivedc, typename Derivedb>
void igl::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, Eigen::PlainObjectBase< Derivedb > &b)
 Determine squared distance from a point to linear simplex.