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

Public Member Functions | |
| rdV3D () | |
| Default constructor. | |
| rdV3D (const double aVertex[3]) | |
| Construct a vertex with a specified value. | |
| rdV3D (IDOM_Element *aElement) | |
| Construct a vertex from an XML Element. | |
| virtual | ~rdV3D () |
| Destructor. | |
| void | setVertex (const double aVertex[3]) |
| Set the XYZ coordinates of this vertex. | |
| void | getVertex (double rVertex[3]) const |
| Get the XYZ coordinates of this vertex. | |
| double | getX () const |
| Get the X coordinate of this vertex. | |
| double | getY () const |
| Get the Y coordinate of this vertex. | |
| double | getZ () const |
| Get the Z coordinate of this vertex. | |
| void | translate (double aX, double aY, double aZ) |
| Translate a the vertex by a specified amount. | |
| void | rotate (int aXYZ, double aRadians) |
| Rotate a point about the X, Y, or Z axis by a specified amount. | |
| virtual void | updateObject (bool aDeep=true) |
| Update this object based on its XML node. | |
| virtual void | updateNode (bool aDeep=true) |
| Update the XML node representing this object. | |
| void | updateData () |
| Update the member data of this object based on its XML node. | |
Private Member Functions | |
| void | setNull () |
| Set NULL values for all member variables. | |
Private Attributes | |
| double | _v3d [3] |
|
|
Default constructor. By default, the value of the vertex is {0.0,0.0,0.0}; |
|
|
Construct a vertex with a specified value.
|
|
|
Construct a vertex from an XML Element.
|
|
|
Get the XYZ coordinates of this vertex.
|
|
|
Get the X coordinate of this vertex.
|
|
|
Get the Y coordinate of this vertex.
|
|
|
Get the Z coordinate of this vertex.
|
|
||||||||||||
|
Rotate a point about the X, Y, or Z axis by a specified amount.
|
|
|
Set the XYZ coordinates of this vertex.
|
|
||||||||||||||||
|
Translate a the vertex by a specified amount.
|
|
|
Update the member data of this object based on its XML node. Member objects (children) are not updated. |
|
|
Update the XML node representing this object.
Reimplemented from rdObject. |
|
|
Update this object based on its XML node.
Reimplemented from rdObject. |
1.3