![]() | Macro Programming | ![]() |
#include <point.h>
Public Member Functions | |
| void | set (int x, int y) |
| set xy | |
| void | setX (int x) |
| set x | |
| void | setY (int y) |
| set y | |
| int | x () |
| x | |
| int | y () |
| y | |
A single point
| void point::set | ( | int | x, | |
| int | y | |||
| ) |
set xy
Set the x and y coordinates.
| void point::setX | ( | int | x | ) |
set x
Set the x coordinate.
| void point::setY | ( | int | y | ) |
set y
Set the y coordinate.
| int point::x | ( | ) |
x
| int point::y | ( | ) |
y