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

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename DerivedP , typename DerivedS , typename DerivedD , typename Derivedt , typename DerivedsqrD >
void igl::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).