43#ifndef LASS_GUARDIAN_OF_INCLUSION_PRIM_RAY_3D_TRIANGLE_3D_H
44#define LASS_GUARDIAN_OF_INCLUSION_PRIM_RAY_3D_TRIANGLE_3D_H
75template<
typename T,
class NP,
class PP>
inline
78 T& t,
const T& tMin = T())
82 return impl::intersectTriangle3D(
83 triangle[0], triangle[1] - triangle[0], triangle[2] - triangle[0],
112template<
typename T,
class NP,
class PP>
inline
115 T& u, T& v, T& t,
const T& tMin = T())
117 return impl::intersectTriangle3D(
118 triangle[0], triangle[1] - triangle[0], triangle[2] - triangle[0],
const TVector & direction() const
Return direction of ray.
const TPoint & support() const
return origin of ray.
Result intersect(const Triangle3D< T > &triangle, const Ray3D< T, NP, PP > &ray, T &t, const T &tMin=T())
Find the intersection of a ray and a triangle by their parameter t on the ray.
Result intersect(const Triangle3D< T > &triangle, const Ray3D< T, NP, PP > &ray, T &u, T &v, T &t, const T &tMin=T())
Find the intersection of a ray and a triangle by their parameter t on the ray and it's coordinates (u...
set of geometrical primitives
Result
meta information on the result you have from an operation like an intersection ...
Library for Assembled Shared Sources.