#include <cspoint.h>
Public Methods | |
csPoint () | |
Constructor: initialize the object with zeros. | |
csPoint (int iX, int iY) | |
Constructor: initialize the object with given values. | |
csPoint (const csPoint &v) | |
Constructor: initialize the object by copying. | |
void | Set (int iX, int iY) |
Set the coordinates of this point. | |
void | Set (csPoint &v) |
Set the coordinates of this point from another point. | |
Public Attributes | |
int | x |
The coordinates of the point. | |
int | y |
The coordinates of the point. |