Public Member Functions | |
Ray3D | add (const Point3D &p) const |
Ray3D | operator+ (const Point3D &p) const |
Ray3D & | operator+= (const Point3D &p) |
Ray3D | subtract (const Point3D &p) const |
Ray3D | operator- (const Point3D &p) const |
Ray3D & | operator-= (const Point3D &p) |
Point3D | operator() (double t) const |
Public Attributes | |
Point3D | position |
Point3D | direction |
|
This method computes the translation of the ray by p and returns the translated ray. |
|
This method returns the point at a distance of t along the ray. |
|
This method computes the translation of the ray by p and returns the translated ray. |
|
This method translates the current ray by p. |
|
This method computes the translation of the ray by -p and returns the translated ray. |
|
This method translates the current ray by -p. |
|
This method computes the translation of the ray by -p and returns the translated ray. |
|
The direction of the ray |
|
The starting point of the ray |