7 #ifndef __FWMATH_LINEFUNCTIONS_HPP__ 8 #define __FWMATH_LINEFUNCTIONS_HPP__ 10 #include "fwMath/IntrasecTypes.hpp" 11 #include "fwMath/config.hpp" 13 #include <fwCore/base.hpp> 42 fwVec3d& _pointOnThis, fwVec3d& _pointOnfwLine);
50 FWMATH_API fwVec3d
getClosestPoint(
const fwLine& _ray,
const fwVec3d& _point);
59 FWMATH_API
bool intersect(
const fwLine& _ray,
double _radius,
const fwVec3d& _point);
70 FWMATH_API
bool intersect(
const fwLine& _line,
double _radius,
const fwVec3d& _origin,
const fwVec3d& _direction,
85 FWMATH_API
bool intersect(
const fwLine& _line,
const fwVec3d& _v1,
const fwVec3d& _v2,
const fwVec3d& _v3,
86 fwVec3d& _point, fwVec3d& _barycentric,
bool& _front);
FWMATH_API fwVec3d getClosestPoint(const fwLine &_ray, const fwVec3d &_point)
Compute the projection of a point in a given direction.
The namespace fwMath contains classes which provide the implementation of several mathematic function...
FWMATH_API bool getClosestPoints(const fwLine &_ray1, const fwLine &_ray2, fwVec3d &_pointOnThis, fwVec3d &_pointOnfwLine)
Compute the closest points between two rays.
FWMATH_API bool intersect(const fwLine &_ray, double _radius, const fwVec3d &_point)
Compute the projection of a point in a given direction and test if this intersection is inside a give...