Openholo
v5.0
Open Source Digital Holographic Library
|
structure for 2-dimensional integer vector and its arithmetic. More...
#include <ivec.h>
Public Member Functions | |
ivec2 () | |
ivec2 (int a) | |
ivec2 (int v_1, int v_2) | |
ivec2 (const ivec2 &a) | |
ivec2 & | operator= (const ivec2 &a) |
int & | operator[] (int i) |
const int & | operator[] (int i) const |
int & | operator() (int i) |
const int & | operator() (int i) const |
Public Attributes | |
int | v [2] |
Static Public Attributes | |
static const int | n |
structure for 2-dimensional integer vector and its arithmetic.