Class to represent a two-dimensional size.
Definition: size.h:34
bool operator>=(const Point &other) const
Check if this points is greater than or equal to another.
Definition: point.h:127
int x
Definition: point.h:59
bool operator<(const Point &other) const
Check if this points is less than another.
Definition: point.h:100
Point(int ix, int iy)
Construct a point from the give coordinates.
Definition: point.h:51
Point & operator=(const Point &other)
Assign this point to the same value as another.
Definition: point.h:68
bool operator!=(const Point &other) const
Check if this point is different from another.
Definition: point.h:82
Size operator-(const Point &other) const
Subtract another point from this one.
Definition: point.h:90
int y
Definition: point.h:60
Class to represent a position in two dimensional space.
Definition: point.h:36
Point(const Point &other)
Construct a point as a copy of another point.
Definition: point.h:57
Point()
Construct an uninitialised point.
Definition: point.h:44
bool operator<=(const Point &other) const
Check if this points is less than or equal another.
Definition: point.h:109
bool operator>(const Point &other) const
Check if this points is greater than another.
Definition: point.h:118
bool operator==(const Point &other) const
Check if this point is the same as another.
Definition: point.h:75