#include <ipoint2.h>
Public Member Functions |
|
IPoint2 () | |
IPoint2 (int X, int Y) | |
IPoint2 (const IPoint2 &a) | |
IPoint2 (int af[2]) | |
int & | operator[] (int i) |
const int & | operator[] (int i) const |
operator int * () | |
IPoint2 | operator- () const |
IPoint2 | operator+ () const |
IPoint2 & | operator-= (const IPoint2 &) |
IPoint2 & | operator+= (const IPoint2 &) |
GEOMEXPORT IPoint2 & | operator*= (int) |
GEOMEXPORT IPoint2 & | operator/= (int) |
GEOMEXPORT IPoint2 | operator- (const IPoint2 &) const |
GEOMEXPORT IPoint2 | operator+ (const IPoint2 &) const |
GEOMEXPORT int | DotProd (const IPoint2 &) const |
GEOMEXPORT int | operator* (const IPoint2 &) const |
int | operator== (const IPoint2 &p) const |
int | operator!= (const IPoint2 &p) const |
Public Attributes |
|
int | x |
int | y |
IPoint2 | ( | ) | [inline] |
{}
IPoint2 | ( | int | X, |
int | Y | ||
) | [inline] |
IPoint2 | ( | int | af[2] | ) | [inline] |
int& operator[] | ( | int | i | ) | [inline] |
{ return (&x)[i]; }
const int& operator[] | ( | int | i | ) | const [inline] |
{ return (&x)[i]; }
IPoint2 operator- | ( | ) | const [inline] |
IPoint2 operator+ | ( | ) | const [inline] |
{ return *this; }
IPoint2 & operator*= | ( | int | f | ) | [inline] |
IPoint2 & operator/= | ( | int | f | ) | [inline] |
int DotProd | ( | const IPoint2 & | b | ) | const [inline] |
int operator* | ( | const IPoint2 & | b | ) | const [inline] |
int operator== | ( | const IPoint2 & | p | ) | const [inline] |