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

Public Member Functions | |
| rdPlane (double aPX, double aPY, double aPZ, double aP2X, double aP2Y, double aP2Z, double aP3X, double aP3Y, double aP3Z) | |
| Construct a plane from three points. | |
| rdPlane (double aPX, double aPY, double aPZ, const double aNormal[3]) | |
| Construct a plane from a point and a normal. | |
| virtual | ~rdPlane () |
| Destructor. | |
| void | setPoint (double aPX, double aPY, double aPZ) |
| Set a point through which the plane passes. | |
| void | getPoint (double rPoint[3]) const |
| Get a point through which the plane passes. | |
| void | setNormal (const double aNormal[3]) |
| Set the normal of the plane. | |
| void | getNormal (double rNormal[3]) const |
| Get the normal of the plane. | |
| int | computeIntersection (const rdLine *aLine, double rPoint[3]) const |
| Compute the intersection of a line with the plane. | |
Private Member Functions | |
| void | setNull () |
| Set NULL values for all member variables. | |
Private Attributes | |
| double | _point [3] |
| Point through which the plane passes. | |
| double | _normal [3] |
| Unit vector normal to the plane. | |
|
||||||||||||||||||||||||||||||||||||||||
|
Construct a plane from three points.
|
|
||||||||||||||||||||
|
Construct a plane from a point and a normal.
|
|
||||||||||||
|
Compute the intersection of a line with the plane. The line can either intersect the plane at a point, not intersect the plane at all, or be coincident with the plane.
|
|
|
Get the normal of the plane.
|
|
|
Get a point through which the plane passes.
|
|
|
Set the normal of the plane.
|
|
||||||||||||||||
|
Set a point through which the plane passes.
|
1.3