Go to the documentation of this file.
42 IntPoint(
int aX = 0,
int aY = 0) :
x(aX),
y(aY) {}
44 inline bool operator==(
const IntPoint& p)
const
46 return x == p.
x &&
y == p.
y;
49 inline bool operator!=(
const IntPoint& p)
const
51 return !operator==(p);
54 inline float Length()
const
56 return sqrtf(
x*
x +
y*
y);