Stellarium 0.15.2
|
This class implement the needed code to make vector calculations. More...
#include <gVector.hpp>
Public Member Functions | |
gVector (size_t ai_uiElementsNumber) | |
gVector | operator+ (gVector &ai_rightVector) const |
const gVector & | operator+= (gVector &ai_rightVector) |
gVector | operator- (gVector &ai_rightVector) const |
const gVector & | operator-= (gVector &ai_rightVector) |
double | Dot (const gVector &ai_rightVector) const |
double | Magnitude () const |
Public Member Functions inherited from br_stl::gVectorTempl< double > | |
gVectorTempl (const gVectorTempl &right) | |
gVectorTempl (size_type n, const double &value=double()) | |
gVectorTempl (iterator i, iterator j) | |
reference | operator[] (difference_type index) |
const_reference | operator[] (difference_type index) const |
Additional Inherited Members | |
Public Types inherited from br_stl::gVectorTempl< double > | |
typedef gVectorTempl::size_type | size_type |
typedef gVectorTempl::iterator | iterator |
typedef gVectorTempl::difference_type | difference_type |
typedef gVectorTempl::reference | reference |
typedef gVectorTempl::const_reference | const_reference |
This class implement the needed code to make vector calculations.
The gVector class inherit from gVectorTempl class that is created from the vector STL class giving all the STL vector funcionality.
This class has not overlapped the = operator and the copy constructor because this methods are given by the vector STL class.
Definition at line 41 of file gVector.hpp.