int2

A 2-dimensional vector for integers.


A 2-dimensional vector for integers.

Behaviors

int2(const int2&in)

int2()

int2(int x, int y)

~int2()

Methods

int2 opAdd(const int2&in) const Operator obj + x

int2& opAddAssign(const int2&in) Operator obj += x

int2 opDiv(const int2&in) const Operator obj / x

int2 opDiv(int) const Operator obj / x

int2& opDivAssign(const int2&in) Operator obj /= x

int2& opDivAssign(int) Operator obj /= x

int opIndex() const Operator obj[x]

int2 opMul(const int2&in) const Operator obj * x

int2 opMul(int) const Operator obj * x

int2& opMulAssign(const int2&in) Operator obj *= x

int2& opMulAssign(int) Operator obj *= x

int2 opSub(const int2&in) const Operator obj - x

int2& opSubAssign(const int2&in) Operator obj -= x

Properties

int x

int y