31 return (
x == v.
x &&
y == v.
y &&
z == v.
z);
double z
z component in m/s
Definition: velocity.h:21
Velocity(double x, double y, double z)
Constructor with explicit instantiation.
Definition: velocity.h:18
bool operator!=(const Velocity &v) const
Check if two vectors are not equal.
Definition: velocity.h:40
double x
x component in m/s
Definition: velocity.h:19
Velocity()
Constructor with implicit instantiation of velocity vector to zero.
Definition: velocity.h:10
Store velocity vector.
Definition: velocity.h:5
double y
y component in m/s
Definition: velocity.h:20
bool operator==(const Velocity &v) const
Check if two velocity vectors are the same.
Definition: velocity.h:30