8#ifndef IGL_PROJECT_TO_LINE_H 
    9#define IGL_PROJECT_TO_LINE_H 
   35    const Eigen::MatrixBase<DerivedP> & P,
 
   36    const Eigen::MatrixBase<DerivedS> & S,
 
   37    const Eigen::MatrixBase<DerivedD> & D,
 
   38    Eigen::PlainObjectBase<Derivedt> & t,
 
   39    Eigen::PlainObjectBase<DerivedsqrD> & sqrD);
 
   42  template <
typename Scalar>
 
   59  template <
typename Scalar>
 
   75#ifndef IGL_STATIC_LIBRARY 
   76#  include "project_to_line.cpp" 
#define IGL_INLINE
Definition igl_inline.h:15
 
void project_to_line(const Eigen::MatrixBase< DerivedP > &P, const Eigen::MatrixBase< DerivedS > &S, const Eigen::MatrixBase< DerivedD > &D, Eigen::PlainObjectBase< Derivedt > &t, Eigen::PlainObjectBase< DerivedsqrD > &sqrD)
Project points onto vectors, that is find the parameter t for a point p such that proj_p = (y-x).