1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- #ifndef IGL_RAY_BOX_INTERSECT_H
- #define IGL_RAY_BOX_INTERSECT_H
- #include "igl_inline.h"
- #include <Eigen/Core>
- #include <Eigen/Geometry>
- namespace igl
- {
-
-
-
-
-
-
-
-
-
-
-
-
-
- template <
- typename Derivedsource,
- typename Deriveddir,
- typename Scalar>
- IGL_INLINE bool ray_box_intersect(
- const Eigen::MatrixBase<Derivedsource> & source,
- const Eigen::MatrixBase<Deriveddir> & dir,
- const Eigen::AlignedBox<Scalar,3> & box,
- const Scalar & t0,
- const Scalar & t1,
- Scalar & tmin,
- Scalar & tmax);
- }
- #ifndef IGL_STATIC_LIBRARY
- # include "ray_box_intersect.cpp"
- #endif
- #endif
|