![]() |
VR-Forces 4.10 Class Documentation
|
! VectorGeoc3D is a direction in 3-space, i.e. More...

Public Member Functions | |
| DtVectorGeoc3D (const DtVector &vect) | |
| DtVectorGeoc3D (const DtVectorGeoc3D &orig) | |
| ~DtVectorGeoc3D () | |
| DtVectorGeoc3D & | operator= (const DtVectorGeoc3D &orig) |
| DtVector | geocVector () const |
| 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. More... | |
| DtVector3D | makeVector3DAtLoc (const DtLocation3D loc) const |
| Makes a direction vector at a particular location on the earth, given the location and this geocentric direction vector. More... | |
| DtVectorGeoc3D | crossVectorGeoc3D (const DtVectorGeoc3D &vec) const |
| Takes the cross product of given vector with this one. More... | |
| double | dotVectorGeoc3D (const DtVectorGeoc3D &vec) const |
| Takes the dot product of the given vector with this one. More... | |
| double | getLength () const |
| Returns the length of the vector. More... | |
| bool | operator== (const DtVectorGeoc3D &) const |
| bool | operator!= (const DtVectorGeoc3D &orig) const |
| DtVectorGeoc3D | getScaled (const double scale) const |
| Vector modification functions. More... | |
| DtVectorGeoc3D | getNegated (void) const |
| DtVectorGeoc3D | getUnit (void) const |
Public Member Functions inherited from DtAsciiSerializable | |
| DtAsciiSerializable () | |
| The implementer of this interface should be sure to create a creator function to create an empty object that returns a pointer to this interface. More... | |
| DtAsciiSerializable (const DtAsciiSerializable &orig) | |
| virtual | ~DtAsciiSerializable () |
| virtual std::string | objectTypeC () const |
| Returns a std::string version of the objectType. More... | |
| virtual void | init (void *userData) |
| This function is called right after the object is constructed during the deserialization process, but before deserialize() is called. More... | |
Protected Attributes | |
| DtVector | myGeocVector |
| DtString | objectType () const |
| Inherited from DtAsciiSerializable. More... | |
| DtString | serialize () |
| Returns a string serialized version of this class. More... | |
| bool | deserialize (const DtString &data) |
| Returns true if it could fill its members with the data contained in the string. More... | |
| static DtAsciiSerializable * | creator () |
| Returns a new object of this type with default values. More... | |
! VectorGeoc3D is a direction in 3-space, i.e.
a vector in geocentric coordinates
| 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 |
| DtVectorGeoc3D DtVectorGeoc3D::getUnit | ( | void | ) | const |
| 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 |