1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- #ifndef IGL_RAY_MESH_INTERSECT_H
- #define IGL_RAY_MESH_INTERSECT_H
- #include "igl_inline.h"
- #include "Hit.h"
- #include <Eigen/Core>
- #include <vector>
- namespace igl
- {
-
-
-
-
-
-
-
-
-
-
-
- template <
- typename Derivedsource,
- typename Deriveddir,
- typename DerivedV,
- typename DerivedF>
- IGL_INLINE bool 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);
-
-
-
- template <
- typename Derivedsource,
- typename Deriveddir,
- typename DerivedV,
- typename DerivedF>
- IGL_INLINE bool 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);
- }
- #ifndef IGL_STATIC_LIBRARY
- # include "ray_mesh_intersect.cpp"
- #endif
- #endif
|