Generic vector.
More...
#include <Vector.h>
|
double | x |
|
double | y |
|
double | z |
|
double | w |
|
Generic vector.
Stores x, y, z, w
Vector::Vector |
( |
const double |
arg_x, |
|
|
const double |
arg_y, |
|
|
const double |
arg_z |
|
) |
| |
|
inline |
Constructor
- Parameters
-
arg_x | x value |
arg_y | y value |
arg_z | z value |
Vector::Vector |
( |
const double |
arg_x, |
|
|
const double |
arg_y, |
|
|
const double |
arg_z, |
|
|
const double |
arg_w |
|
) |
| |
|
inline |
Constructor
- Parameters
-
arg_x | x value |
arg_y | y value |
arg_z | z value |
arg_w | w value |
Vector::Vector |
( |
const Vector & |
v | ) |
|
|
inline |
Copy constructor
- Parameters
-
double Vector::Dot |
( |
const Vector & |
vec | ) |
const |
|
inline |
Calculates the dot product
- Returns
- dot product
double Vector::Magnitude |
( |
| ) |
const |
|
inline |
Calculates the magnitude of the vector
- Returns
- magnitude of the vector
Subtract operator
- Parameters
-
Assignment operator
- Parameters
-
std::string Vector::ToString |
( |
| ) |
const |
|
inline |
Converts this vector to a string
- Returns
- this vector as a string
The documentation for this struct was generated from the following file:
- /home/travis/build/TUW-VieVS/VieSchedpp/SGP4/Vector.h