Int3D Class Reference
3D Integer vector class. More...
#include <vec3d.hpp>
Public Member Functions | |
| Int3D (int32_t i) | |
| Int3D (int32_t i, int32_t j) | |
| Int3D (int32_t i, int32_t j, int32_t k) | |
| Int3D (std::istream &s) | |
| int32_t & | operator[] (int i) |
| const int32_t & | operator[] (int i) const |
| int32_t & | operator() (int i) |
| const int32_t & | operator() (int i) const |
| Int3D | operator+ (const Int3D &i) const |
| Integer vector addition. More... | |
| Int3D | operator- (const Int3D &i) |
| Integer vector difference. More... | |
| Int3D | operator* (int i) |
| Vec3D | operator* (double x) |
| bool | operator!= (const Int3D &i) const |
| Inequality test. More... | |
| bool | operator== (const Int3D &i) const |
| Equality test. More... | |
| int32_t | max (void) const |
| Returns maximum component of vector. More... | |
| void | save (std::ostream &s) const |
Friends | |
| Vec3D | operator* (double x, const Int3D &i) |
| Int3D | operator* (int x, const Int3D &i) |
| std::ostream & | operator<< (std::ostream &os, const Vec3D &vec) |
Detailed Description
3D Integer vector class.
Member Function Documentation
| int32_t Int3D::max | ( | void | ) | const |
Returns maximum component of vector.
|
inline |
Inequality test.
|
inline |
Equality test.
The documentation for this class was generated from the following files: