8#ifndef IGL_PROJECT_TO_LINE_SEGMENT_H
9#define IGL_PROJECT_TO_LINE_SEGMENT_H
32 const Eigen::MatrixBase<DerivedP> & P,
33 const Eigen::MatrixBase<DerivedS> & S,
34 const Eigen::MatrixBase<DerivedD> & D,
35 Eigen::PlainObjectBase<Derivedt> & t,
36 Eigen::PlainObjectBase<DerivedsqrD> & sqrD);
39#ifndef IGL_STATIC_LIBRARY
40# include "project_to_line_segment.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
void project_to_line_segment(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).