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

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename Scalar >
Eigen::Matrix< Scalar, 3, 1 > igl::project (const Eigen::Matrix< Scalar, 3, 1 > &obj, const Eigen::Matrix< Scalar, 4, 4 > &model, const Eigen::Matrix< Scalar, 4, 4 > &proj, const Eigen::Matrix< Scalar, 4, 1 > &viewport)
 Eigen reimplementation of gluProject.
 
template<typename DerivedV , typename DerivedM , typename DerivedN , typename DerivedO , typename DerivedP >
void igl::project (const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedM > &model, const Eigen::MatrixBase< DerivedN > &proj, const Eigen::MatrixBase< DerivedO > &viewport, Eigen::PlainObjectBase< DerivedP > &P)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.