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

Go to the source code of this file.

Namespaces

namespace  igl

Functions

template<typename DerivedO, typename DerivedD, typename DerivedV0, typename DerivedV1, typename DerivedV2>
bool igl::ray_triangle_intersect (const Eigen::MatrixBase< DerivedO > &O, const Eigen::MatrixBase< DerivedD > &D, const Eigen::MatrixBase< DerivedV0 > &V0, const Eigen::MatrixBase< DerivedV1 > &V1, const Eigen::MatrixBase< DerivedV2 > &V2, const typename DerivedO::Scalar epsilon, typename DerivedO::Scalar &t, typename DerivedO::Scalar &u, typename DerivedO::Scalar &v, bool &parallel)
 Determine whether (and if so where) a ray intersects a triangle at a single point.