#include <vecmath.h>
Definition at line 139 of file vecmath.h.
◆ ScreenPoint() [1/3]
EMAN::ScreenPoint::ScreenPoint |
( |
| ) |
|
|
inline |
◆ ScreenPoint() [2/3]
EMAN::ScreenPoint::ScreenPoint |
( |
const ScreenPoint & |
p | ) |
|
|
inline |
◆ ScreenPoint() [3/3]
EMAN::ScreenPoint::ScreenPoint |
( |
int |
_x, |
|
|
int |
_y |
|
) |
| |
|
inline |
◆ operator!=()
bool EMAN::ScreenPoint::operator!= |
( |
const ScreenPoint & |
p | ) |
const |
|
inline |
Definition at line 184 of file vecmath.h.
185 return x != p.x ||
y != p.y;
References x, and y.
◆ operator*=()
◆ operator+()
◆ operator+=()
Definition at line 153 of file vecmath.h.
154 x += v[0];
y += v[1];
References x, and y.
◆ operator-() [1/2]
Definition at line 172 of file vecmath.h.
173 return ScreenVector(
x - p.x,
y - p.y );
References x, and y.
◆ operator-() [2/2]
◆ operator-=()
Definition at line 158 of file vecmath.h.
159 x -= v[0];
y -= v[1];
References x, and y.
◆ operator=()
◆ operator==()
bool EMAN::ScreenPoint::operator== |
( |
const ScreenPoint & |
p | ) |
const |
|
inline |
Definition at line 180 of file vecmath.h.
181 return x == p.x &&
y == p.y;
References x, and y.
◆ operator[]() [1/2]
int & EMAN::ScreenPoint::operator[] |
( |
int |
n | ) |
|
|
inline |
◆ operator[]() [2/2]
const int & EMAN::ScreenPoint::operator[] |
( |
int |
n | ) |
const |
|
inline |
◆ print()
void EMAN::ScreenPoint::print |
( |
| ) |
const |
|
inline |
Definition at line 188 of file vecmath.h.
189 std::cout <<
"(" <<
x <<
", " <<
y <<
")";
References x, and y.
The documentation for this class was generated from the following file: