#include <distypes.h>
Public Member Functions | |
| WorldCoordinate (double x=0.0, double y=0.0, double z=0.0) | |
| Constructor. | |
| WorldCoordinate (const osg::Vec3d ©Vec) | |
| Allow the superclass copy constructor. | |
| size_t | EncodedLength () const |
| Returns the encoded length of this object. | |
| void | Encode (char *buf) const |
| Encodes this object into the specified buffer. | |
| void | Decode (const char *buf) |
| Decodes the values contained in the specified buffer. | |
| void | SetX (double x) |
| Sets the value of the x field. | |
| double | GetX () const |
| Returns the value of the x field. | |
| void | SetY (double y) |
| Sets the value of the y field. | |
| double | GetY () const |
| Returns the value of the y field. | |
| void | SetZ (double z) |
| Sets the value of the z field. | |
| double | GetZ () const |
| Returns the value of the z field. | |
| dtHLAGM::WorldCoordinate::WorldCoordinate | ( | double | x = 0.0, |
|
| double | y = 0.0, |
|||
| double | z = 0.0 | |||
| ) |
Constructor.
| x | the value of the x field | |
| y | the value of the y field | |
| z | the value of the z field |
| dtHLAGM::WorldCoordinate::WorldCoordinate | ( | const osg::Vec3d & | copyVec | ) | [inline] |
Allow the superclass copy constructor.
| size_t dtHLAGM::WorldCoordinate::EncodedLength | ( | ) | const |
Returns the encoded length of this object.
| void dtHLAGM::WorldCoordinate::Encode | ( | char * | buf | ) | const |
Encodes this object into the specified buffer.
| buf | the buffer to contain the encoded object |
| void dtHLAGM::WorldCoordinate::Decode | ( | const char * | buf | ) |
Decodes the values contained in the specified buffer.
| buf | the buffer containing the encoded object |
| void dtHLAGM::WorldCoordinate::SetX | ( | double | newX | ) |
Sets the value of the x field.
| x | the value of the x field |
| double dtHLAGM::WorldCoordinate::GetX | ( | ) | const |
Returns the value of the x field.
| void dtHLAGM::WorldCoordinate::SetY | ( | double | newY | ) |
Sets the value of the y field.
| y | the value of the y field |
| double dtHLAGM::WorldCoordinate::GetY | ( | ) | const |
Returns the value of the y field.
| void dtHLAGM::WorldCoordinate::SetZ | ( | double | newZ | ) |
Sets the value of the z field.
| z | the value of the z field |
| double dtHLAGM::WorldCoordinate::GetZ | ( | ) | const |
Returns the value of the z field.