#include <iso_geom_ray.h>
Inherits iso::geom::Geometry.
Inheritance diagram for iso::geom::Ray:


Public Member Functions | |
| Ray () | |
| Ray (unsigned int pDim) | |
| Ray (const math::Vector< real > &pO, const math::Vector< real > &pD) | |
| Ray (const Ray &pRay) | |
| ~Ray () | |
| virtual void | calcMinMaxPos () |
| calculate minimum and maximum positions | |
| math::Vector< real > & | origin () |
| math::Vector< real > & | direction () |
| const math::Vector< real > & | origin () const |
| const math::Vector< real > & | direction () const |
| void | setOrigin (const math::Vector< real > &pOrigin) |
| void | setDirection (const math::Vector< real > &pDirection) |
| void | set (const math::Vector< real > &pOrigin, const math::Vector< real > &pDirection) |
| void | set (const Ray &pRay) |
| const Ray & | operator= (const Ray &pRay) |
| virtual void | closestPoint (const math::Vector< real > &pRefPoint, math::Vector< real > &pResPoint) |
| return closest point | |
| virtual bool | intersect (const Ray &pRay, math::Vector< real > &pResPoint) |
| return intersection point with ray | |
| virtual bool | intersect (const Line &pLine, math::Vector< real > &pResPoint) |
| return intersection point with line | |
Protected Attributes | |
| math::Vector< real > | mOrigin |
| math::Vector< real > | mDirection |
| Ray::Ray | ( | ) |
| Ray::Ray | ( | unsigned int | pDim | ) |
| Ray::Ray | ( | const Ray & | pRay | ) |
| Ray::~Ray | ( | ) |
| void Ray::calcMinMaxPos | ( | ) | [virtual] |
| math::Vector< real > & iso::geom::Ray::origin | ( | ) | [inline] |
| math::Vector< real > & iso::geom::Ray::direction | ( | ) | [inline] |
| const math::Vector< real > & iso::geom::Ray::origin | ( | ) | const [inline] |
| const math::Vector< real > & iso::geom::Ray::direction | ( | ) | const [inline] |
| void Ray::setOrigin | ( | const math::Vector< real > & | pOrigin | ) |
| void Ray::setDirection | ( | const math::Vector< real > & | pDirection | ) |
| void Ray::set | ( | const Ray & | pRay | ) |
| void Ray::closestPoint | ( | const math::Vector< real > & | pRefPoint, | |
| math::Vector< real > & | pResPoint | |||
| ) | [virtual] |
return closest point
| pRefPoint | reference points | |
| pResPoint | result point |
Implements iso::geom::Geometry.
return intersection point with ray
| pRay | ray | |
| pResPoint | result point |
return intersection point with line
| pLine | line | |
| pResPoint | result point |
math::Vector<real> iso::geom::Ray::mOrigin [protected] |
math::Vector<real> iso::geom::Ray::mDirection [protected] |
1.5.1