libigl v2.5.0
Loading...
Searching...
No Matches
unproject_on_line.h File Reference
#include <Eigen/Dense>
#include "unproject_on_line.cpp"

Go to the source code of this file.

Namespaces

namespace  igl

Functions

template<typename DerivedUV, typename DerivedM, typename DerivedVP, typename Derivedorigin, typename Deriveddir>
void igl::unproject_on_line (const Eigen::MatrixBase< DerivedUV > &UV, const Eigen::MatrixBase< DerivedM > &M, const Eigen::MatrixBase< DerivedVP > &VP, const Eigen::MatrixBase< Derivedorigin > &origin, const Eigen::MatrixBase< Deriveddir > &dir, typename DerivedUV::Scalar &t)
 Given a screen space point (u,v) and the current projection matrix (e.g.
template<typename DerivedUV, typename DerivedM, typename DerivedVP, typename Derivedorigin, typename Deriveddir, typename DerivedZ>
void igl::unproject_on_line (const Eigen::MatrixBase< DerivedUV > &UV, const Eigen::MatrixBase< DerivedM > &M, const Eigen::MatrixBase< DerivedVP > &VP, const Eigen::MatrixBase< Derivedorigin > &origin, const Eigen::MatrixBase< Deriveddir > &dir, Eigen::PlainObjectBase< DerivedZ > &Z)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.