45 rayIsCollinearWithTriangle
59 type(type),position(position),trianglePosition(trianglePosition){}
63 operator bool()
const {
return type == foundIntersection; }
66 static Intersection find(
const Triangle &t,
const geom::ViewRay &r);
Definition: TriangleIntersectionEstimator.h:43
undocument this line if you encounter any issues!
Definition: Any.h:37
Definition: TriangleIntersectionEstimator.h:44
IntersectionType type
Definition: TriangleIntersectionEstimator.h:60
Triangle()
Definition: TriangleIntersectionEstimator.h:49
Intersection(IntersectionType type=noIntersection, const geom::Vec &position=geom::Vec(), const utils::Point32f &trianglePosition=utils::Point32f::null)
Definition: TriangleIntersectionEstimator.h:56
Triangle(const geom::Vec &a, const geom::Vec &b, const geom::Vec &c)
Definition: TriangleIntersectionEstimator.h:50
Definition: TriangleIntersectionEstimator.h:38
Definition: TriangleIntersectionEstimator.h:48
geom::Vec position
Definition: TriangleIntersectionEstimator.h:61
static const Point32f null
null Point is x=0, y=0
Definition: Point32f.h:51
Definition: TriangleIntersectionEstimator.h:41
Definition: TriangleIntersectionEstimator.h:55
#define ICLPhysics_API
Definition: CompatMacros.h:181
This is a view-ray's line equation in parameter form.
Definition: ViewRay.h:49
Single precission 3D Vectors Point class of the ICL.
Definition: Point32f.h:41
IntersectionType
Definition: TriangleIntersectionEstimator.h:40
geom::Vec c
Definition: TriangleIntersectionEstimator.h:51
Definition: TriangleIntersectionEstimator.h:42
utils::Point32f trianglePosition
Definition: TriangleIntersectionEstimator.h:62