43#ifndef LASS_GUARDIAN_OF_INCLUSION_PRIM_LINE_SEGMENT_2D_RAY_2D_H
44#define LASS_GUARDIAN_OF_INCLUSION_PRIM_LINE_SEGMENT_2D_RAY_2D_H
69template<
typename T,
class PP1,
class NP2,
class PP2>
71 const Ray2D<T, NP2, PP2>& ray,
72 T&
t,
const T& tMin = T())
74 typedef Point2D<T> TPoint;
76 typedef typename TVector::TValue TValue;
77 typedef typename TVector::TNumTraits TNumTraits;
82 TValue tNear = TNumTraits::infinity;
83 const bool good = impl::intersectEdge2D(
const TVector & direction() const
Result intersect(const LineSegment2D< T, PP1 > &lineSegment, const Ray2D< T, NP2, PP2 > &ray, T &t, const T &tMin=T())
Find the intersection of a ray and a line segment by parameter t on the ray.
const TValue t(const TPoint &iPoint) const
const TPoint & support() const
set of geometrical primitives
Result
meta information on the result you have from an operation like an intersection ...
@ rNone
operation has no answer, output arguments are meaningless
@ rOne
there's exactly one answer, 1 output argument contains the answer
Library for Assembled Shared Sources.