libigl v2.5.0
Loading...
Searching...
No Matches
project_to_line.h File Reference
#include "igl_inline.h"
#include <Eigen/Core>
#include "project_to_line.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 (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).
 
template<typename Scalar >
void igl::project_to_line (const Scalar px, const Scalar py, const Scalar pz, const Scalar sx, const Scalar sy, const Scalar sz, const Scalar dx, const Scalar dy, const Scalar dz, Scalar &projpx, Scalar &projpy, Scalar &projpz, Scalar &t, Scalar &sqrd)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<typename Scalar >
void igl::project_to_line (const Scalar px, const Scalar py, const Scalar pz, const Scalar sx, const Scalar sy, const Scalar sz, const Scalar dx, const Scalar dy, const Scalar dz, Scalar &t, Scalar &sqrd)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.