VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
DtVectorGeoc3D Class Reference

! VectorGeoc3D is a direction in 3-space, i.e. More...

Inheritance diagram for DtVectorGeoc3D:
Inheritance graph
[legend]

Public Member Functions

 DtVectorGeoc3D (const DtVector &vect)
 
 DtVectorGeoc3D (const DtVectorGeoc3D &orig)
 
 ~DtVectorGeoc3D ()
 
DtVectorGeoc3Doperator= (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 DtAsciiSerializablecreator ()
 Returns a new object of this type with default values. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from DtObjectDebugger< DtAsciiSerializable >
static DtObjectCounter::CounterType ObjectCount ()
 
static const DtObjectContainer * ObjectContainer ()
 
- Static Public Member Functions inherited from DtObjectDebugger< DtVectorGeoc3D >
static DtObjectCounter::CounterType ObjectCount ()
 
static const DtObjectContainer * ObjectContainer ()
 
- Protected Member Functions inherited from DtObjectDebugger< DtAsciiSerializable >
 DtObjectDebugger ()
 
 DtObjectDebugger (const DtObjectDebugger &)
 
 ~DtObjectDebugger ()
 
- Protected Member Functions inherited from DtObjectDebugger< DtVectorGeoc3D >
 DtObjectDebugger ()
 
 DtObjectDebugger (const DtObjectDebugger &)
 
 ~DtObjectDebugger ()
 

Detailed Description

! VectorGeoc3D is a direction in 3-space, i.e.

a vector in geocentric coordinates

Constructor & Destructor Documentation

DtVectorGeoc3D::DtVectorGeoc3D ( const DtVector vect)
DtVectorGeoc3D::DtVectorGeoc3D ( const DtVectorGeoc3D orig)
DtVectorGeoc3D::~DtVectorGeoc3D ( )

Member Function Documentation

DtVectorGeoc3D& DtVectorGeoc3D::operator= ( const DtVectorGeoc3D orig)
DtVector DtVectorGeoc3D::geocVector ( ) const
DtString DtVectorGeoc3D::objectType ( ) const
virtual

Inherited from DtAsciiSerializable.

Returns "DtVectorGeoc3D"

Implements DtAsciiSerializable.

DtString DtVectorGeoc3D::serialize ( )
virtual

Returns a string serialized version of this class.

Implements DtAsciiSerializable.

bool DtVectorGeoc3D::deserialize ( const DtString data)
virtual

Returns true if it could fill its members with the data contained in the string.

False otherwise.

Implements DtAsciiSerializable.

static DtAsciiSerializable* DtVectorGeoc3D::creator ( )
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
bool DtVectorGeoc3D::operator!= ( const DtVectorGeoc3D orig) const
inline

Member Data Documentation

DtVector DtVectorGeoc3D::myGeocVector
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)