Public Member Functions | |
void | maxOf (const Point &p) |
Sets this Point to the maximum value for each x y dimension. | |
void | minOf (const Point &p) |
Sets this Point to the minimum value for each x y dimension. | |
Point () | |
Constructor Initializing the point to (0,0). | |
Point (long x, long y) | |
Constructor initializing the point with the given arguments. | |
Public Attributes | |
long | x |
x position | |
long | y |
y position |
Used in e.g. functions that take a mouse position etc...
Point | ( | long | x, | |
long | y | |||
) |
Constructor initializing the point with the given arguments.
Constructor initializing the structure with the given arguments. Takes x and y coordinate to be used.
Point | ( | ) |
Constructor Initializing the point to (0,0).
Default constructor initializing x and y member to 0 and 0
void maxOf | ( | const Point & | p | ) |
void minOf | ( | const Point & | p | ) |