#include <rdLine.h>
Inheritance diagram for rdLine:

Public Member Functions | |
| rdLine (double aP0X, double aP0Y, double aP0Z, double aP2X, double aP2Y, double aP2Z) | |
| Construct a line from two points (P and P2). | |
| rdLine (double aPX, double aPY, double aPZ, const double aDirection[3]) | |
| Construct a line from a point and a direction. | |
| virtual | ~rdLine () |
| Destructor. | |
| void | setPoint (double aPX, double aPY, double aPZ) |
| Set the point that the line passes through. | |
| void | getPoint (double rPoint[3]) const |
| Get the point that the line passes through. | |
| void | setDirection (const double aDirection[3]) |
| Set the direction of the line. | |
| void | getDirection (double rDirection[3]) const |
| Get the direction of the line. | |
| void | evaluate (double aDistance, double rLineValue[3]) const |
| Evaluate the line at a specified distance away from the specified point of the line:. | |
Private Member Functions | |
| void | setNull () |
| Set NULL values for all member variables. | |
Private Attributes | |
| double | _point [3] |
| Point through which the line passes. | |
| double | _direction [3] |
| Unit vector specifying the direction of the line. | |
|
||||||||||||||||||||||||||||
|
Construct a line from two points (P and P2). Point P is kept as the point through which the line passes, and P2 is used to compute the direction of the line. The direction of the line points from P to P2.
|
|
||||||||||||||||||||
|
Construct a line from a point and a direction.
|
|
||||||||||||
|
Evaluate the line at a specified distance away from the specified point of the line:. value = point + distance * direction
|
|
|
Get the direction of the line.
|
|
|
Get the point that the line passes through.
|
|
|
Set the direction of the line.
|
|
||||||||||||||||
|
Set the point that the line passes through.
|
1.3