51 explicit ViewRay(
const Vec &offset=
Vec(),
const Vec &direction=
Vec(),
bool autoNormalizeDirection=
false);
69 rayIsCollinearWithTriangle
93 float closestDistanceTo(
const Vec &p)
const;
96 float closestSqrDistanceTo(
const Vec &p)
const;
109 float closestDistanceTo(
const ViewRay &other)
const;
113 Vec operator()(
float lambda)
const;
Utility structure for calculation of view-ray / plane intersections.
Definition: PlaneEquation.h:41
undocument this line if you encounter any issues!
Definition: Any.h:37
#define ICLGeom_API
Definition: CompatMacros.h:179
ICLGeom_API std::ostream & operator<<(std::ostream &os, const Camera &cam)
ostream operator (writes camera in XML core::format)
Vec4D32f Vec
Short typedef for 4D float vectors.
Definition: GeomDefs.h:87
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
Vec direction
line direction
Definition: ViewRay.h:57
TriangleIntersection
ray-triangle intersection results
Definition: ViewRay.h:64
Vec offset
line offset
Definition: ViewRay.h:54