![]() |
VR-Forces 5.0.2 Developer's Guide
|
VectorGeoc3D is a direction in 3-space, i.e. a vector in geocentric coordinates.

Public Member Functions | |
| DtVectorGeoc3D (const DtVector &vect) | |
| DtVectorGeoc3D (const DtVectorGeoc3D &orig) | |
| ~DtVectorGeoc3D () | |
| DtVectorGeoc3D & | operator= (const DtVectorGeoc3D &orig) |
| DtVector | geocVector () const |
| DtVectorGeoc3D | makeCopy () const |
| DtVector3D | makeVector3DAtLoc (const DtLocation3D loc) const |
| DtVectorGeoc3D | crossVectorGeoc3D (const DtVectorGeoc3D &vec) const |
| double | dotVectorGeoc3D (const DtVectorGeoc3D &vec) const |
| double | getLength () const |
| bool | operator== (const DtVectorGeoc3D &) const |
| bool | operator!= (const DtVectorGeoc3D &orig) const |
| DtVectorGeoc3D | getScaled (const double scale) const |
| DtVectorGeoc3D | getNegated (void) const |
| DtVectorGeoc3D | getUnit (void) const |
Public Member Functions inherited from DtAsciiSerializable | |
| DtAsciiSerializable () | |
| DtAsciiSerializable (const DtAsciiSerializable &orig) | |
| virtual | ~DtAsciiSerializable () |
| virtual std::string | objectTypeC () const |
| virtual void | init (void *userData) |
Protected Attributes | |
| DtVector | myGeocVector |
| DtString | objectType () const |
| DtString | serialize () |
| bool | deserialize (const DtString &data) |
| static DtAsciiSerializable * | creator () |
| DtVectorGeoc3D::DtVectorGeoc3D | ( | const DtVector & | vect | ) |
| DtVectorGeoc3D::DtVectorGeoc3D | ( | const DtVectorGeoc3D & | orig | ) |
| DtVectorGeoc3D::~DtVectorGeoc3D | ( | ) |
| DtVectorGeoc3D& DtVectorGeoc3D::operator= | ( | const DtVectorGeoc3D & | orig | ) |
| DtVector DtVectorGeoc3D::geocVector | ( | ) | const |
|
virtual |
|
virtual |
Returns a string serialized version of this class.
Implements DtAsciiSerializable.
Returns true if it could fill its members with the data contained in the string. False otherwise.
Implements DtAsciiSerializable.
|
static |
Returns a new object of this type with default values.
| DtVectorGeoc3D DtVectorGeoc3D::makeCopy | ( | ) | const |
The assignment operator and copy constructor above, are useful in the expected way for C++ code, but Lua just copies the references to objects, so a special copy function is needed.
| DtVector3D DtVectorGeoc3D::makeVector3DAtLoc | ( | const DtLocation3D | loc | ) | const |
Makes a direction vector at a particular location on the earth, given the location and this geocentric direction vector.
| DtVectorGeoc3D DtVectorGeoc3D::getScaled | ( | const double | scale | ) | const |
Vector modification functions. Return a new vector.
| DtVectorGeoc3D DtVectorGeoc3D::getNegated | ( | void | ) | const |
Vector modification functions. Return a new vector.
| DtVectorGeoc3D DtVectorGeoc3D::getUnit | ( | void | ) | const |
Vector modification functions. Return a new vector.
| DtVectorGeoc3D DtVectorGeoc3D::crossVectorGeoc3D | ( | const DtVectorGeoc3D & | vec | ) | const |
Takes the cross product of given vector with this one.
| double DtVectorGeoc3D::dotVectorGeoc3D | ( | const DtVectorGeoc3D & | vec | ) | const |
Takes the dot product of the given vector with this one.
| double DtVectorGeoc3D::getLength | ( | ) | const |
Returns the length of the vector.
| bool DtVectorGeoc3D::operator== | ( | const DtVectorGeoc3D & | ) | const |
|
inline |
|
protected |