Stellarium 0.15.2
List of all members | Public Member Functions
gVector Class Reference

This class implement the needed code to make vector calculations. More...

#include <gVector.hpp>

+ Inheritance diagram for gVector:
+ Collaboration diagram for gVector:

Public Member Functions

 gVector (size_t ai_uiElementsNumber)
gVector operator+ (gVector &ai_rightVector) const
const gVectoroperator+= (gVector &ai_rightVector)
gVector operator- (gVector &ai_rightVector) const
const gVectoroperator-= (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

Detailed Description

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.

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