![]() |
|
Functions | |
| std::ostream & | operator<< (std::ostream &os, const Vec3D &a) |
| std::istream & | operator>> (std::istream &is, Vec3D &a) |
| std::ostream& operator<< | ( | std::ostream & | os, |
| const Vec3D & | a | ||
| ) |
Adds all elements of the vector to an output stream. NB: this is a global function and a friend of the Vec3D class!
| [in] | os | the output stream, |
| [in] | a | The vector of interest |
| std::istream& operator>> | ( | std::istream & | is, |
| Vec3D & | a | ||
| ) |
Reads all elements of a given vector from an input stream. NB: this is a global function and a friend of the Vec3D class!
| [in,out] | is | the input stream |
| [in,out] | a | the vector to be read in |