#include <vecmath.h>
Public Member Functions | |
| ScreenPoint () | |
| ScreenPoint (const ScreenPoint &p) | |
| ScreenPoint (int _x, int _y) | |
| ScreenPoint & | operator= (const ScreenPoint &a) |
| const int & | operator[] (int n) const |
| int & | operator[] (int n) |
| ScreenPoint & | operator+= (const ScreenVector &v) |
| ScreenPoint & | operator-= (const ScreenVector &v) |
| ScreenPoint & | operator *= (int s) |
| ScreenPoint | operator+ (const ScreenVector &v) const |
| ScreenVector | operator- (const ScreenPoint &p) const |
| ScreenPoint | operator- (const ScreenVector &v) const |
| bool | operator== (const ScreenPoint &p) const |
| bool | operator!= (const ScreenPoint &p) const |
| void | print () const |
Private Attributes | |
| int | x |
| int | y |
Definition at line 143 of file vecmath.h.
| EMAN::ScreenPoint::ScreenPoint | ( | ) | [inline] |
| EMAN::ScreenPoint::ScreenPoint | ( | const ScreenPoint & | p | ) | [inline] |
| EMAN::ScreenPoint::ScreenPoint | ( | int | _x, | |
| int | _y | |||
| ) | [inline] |
| ScreenPoint& EMAN::ScreenPoint::operator *= | ( | int | s | ) | [inline] |
| bool EMAN::ScreenPoint::operator!= | ( | const ScreenPoint & | p | ) | const [inline] |
| ScreenPoint EMAN::ScreenPoint::operator+ | ( | const ScreenVector & | v | ) | const [inline] |
| ScreenPoint& EMAN::ScreenPoint::operator+= | ( | const ScreenVector & | v | ) | [inline] |
| ScreenPoint EMAN::ScreenPoint::operator- | ( | const ScreenVector & | v | ) | const [inline] |
| ScreenVector EMAN::ScreenPoint::operator- | ( | const ScreenPoint & | p | ) | const [inline] |
| ScreenPoint& EMAN::ScreenPoint::operator-= | ( | const ScreenVector & | v | ) | [inline] |
| ScreenPoint& EMAN::ScreenPoint::operator= | ( | const ScreenPoint & | a | ) | [inline] |
| bool EMAN::ScreenPoint::operator== | ( | const ScreenPoint & | p | ) | const [inline] |
| int& EMAN::ScreenPoint::operator[] | ( | int | n | ) | [inline] |
| const int& EMAN::ScreenPoint::operator[] | ( | int | n | ) | const [inline] |
| void EMAN::ScreenPoint::print | ( | ) | const [inline] |
int EMAN::ScreenPoint::x [private] |
Definition at line 197 of file vecmath.h.
Referenced by operator *=(), operator!=(), operator+(), operator+=(), operator-(), operator-=(), operator=(), operator==(), operator[](), and print().
int EMAN::ScreenPoint::y [private] |
Definition at line 197 of file vecmath.h.
Referenced by operator *=(), operator!=(), operator+(), operator+=(), operator-(), operator-=(), operator=(), operator==(), and print().
1.4.7