#include <Coord.h>
Public Member Functions | |
| Coord (int n=0, int e=0) | |
| int | getN () const |
| int | getE () const |
| void | setCoord (int, int) |
| int | distance (const Coord &) const |
| bool | operator== (const Coord &) const |
| bool | operator!= (const Coord &right) const |
| Coord | operator+ (const Coord &) const |
Friends | |
| ostream & | operator<< (ostream &, const Coord &) |
Coordinates
| Coord::Coord | ( | int | n = 0, |
| int | e = 0 |
||
| ) |
Create a coordinate object (North/East)
1.7.4