#include <Vec2Real64.h>
Public Member Functions | |
Vec2Real64 () | |
Default constructor. | |
Vec2Real64 (Real64 x, Real64 y) | |
Construction from native type. | |
Vec2Real64 (Real64 v) | |
Construction from non vector native type. | |
Vec2Real64 (const Vec2Real64 &v) | |
Copy constructor. | |
Real64 | X () const |
Value of first element. | |
Real64 | Y () const |
Value of second element. | |
Real64 | getValue (int dimension) const |
Element in given dimension. | |
int | operator== (const Vec2Real64 &v) const |
Equal. | |
int | operator!= (const Vec2Real64 &v) const |
Not equal. | |
int | operator< (const Vec2Real64 &v) const |
Less than. | |
int | operator<= (const Vec2Real64 &v) const |
Less equal. | |
int | operator> (const Vec2Real64 &v) const |
Greater than. | |
int | operator>= (const Vec2Real64 &v) const |
Greater equal. | |
Vec2Real64 & | operator+= (const Vec2Real64 &v) |
Addition and assignment. | |
Vec2Real64 & | operator-= (const Vec2Real64 &v) |
Subtraction and assignment. | |
Vec2Real64 & | operator *= (const Vec2Real64 &v) |
Multiplication and assignment. | |
Vec2Real64 & | operator *= (double v) |
Multiplication and assignment. | |
Vec2Real64 & | operator/= (const Vec2Real64 &v) |
Division and assignment. | |
Vec2Real64 & | operator/= (double d) |
Division and assignment. | |
Private Attributes | |
Real64 | mValues [2] |
Definition at line 20 of file Vec2Real64.h.