#include "igl_inline.h"
#include "Hit.h"
#include <Eigen/Core>
#include <vector>
#include "ray_mesh_intersect.cpp"
Go to the source code of this file.
|
template<typename Derivedsource , typename Deriveddir , typename DerivedV , typename DerivedF > |
bool | igl::ray_mesh_intersect (const Eigen::MatrixBase< Derivedsource > &source, const Eigen::MatrixBase< Deriveddir > &dir, const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, std::vector< igl::Hit > &hits) |
| Shoot a ray against a mesh (V,F) and collect all hits.
|
|
template<typename Derivedsource , typename Deriveddir , typename DerivedV , typename DerivedF > |
bool | igl::ray_mesh_intersect (const Eigen::MatrixBase< Derivedsource > &source, const Eigen::MatrixBase< Deriveddir > &dir, const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, igl::Hit &hit) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
template<typename Derivedsource , typename Deriveddir , typename DerivedV , typename DerivedF > |
bool | igl::ray_triangle_intersect (const Eigen::MatrixBase< Derivedsource > &source, const Eigen::MatrixBase< Deriveddir > &dir, const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const int f, igl::Hit &hit) |
|