Store velocity vector.
More...
#include <velocity.h>
Constructor with implicit instantiation of velocity vector to zero.
| Velocity::Velocity |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
|
inline |
Constructor with explicit instantiation.
- Parameters
-
| x | x component (m/s) |
| y | y component (m/s) |
| z | z component (m/s) |
| bool Velocity::operator!= |
( |
const Velocity & |
v | ) |
const |
|
inline |
Check if two vectors are not equal.
- Parameters
-
| v | The vector agains which the current vector is compared. |
- Returns
- True if two vectors are not equal
| bool Velocity::operator== |
( |
const Velocity & |
v | ) |
const |
|
inline |
Check if two velocity vectors are the same.
- Parameters
-
| v | The vector agains which the current vector is compared. |
- Returns
- True if vectors are equal
The documentation for this struct was generated from the following file: