#include <point.h>
| Public Member Functions | |
| Point (int x, int y) | |
| Point () | |
| virtual | ~Point () | 
| int | XCoordinate () const | 
| int | YCoordinate () const | 
| void | SetXCoordinate (int v) | 
| void | SetyCoordinate (int v) | 
| Point | operator+ (Point &p) | 
| Protected Attributes | |
| int | m_x | 
| int | m_y | 
| geo::Point::Point | ( | int | x, | |
| int | y | |||
| ) | 
Constructor that expects x and y
| x | X-coordinate | |
| y | Y-coordinate | 
| geo::Point::Point | ( | ) |  [inline] | 
Standart constructor
| virtual geo::Point::~Point | ( | ) |  [inline, virtual] | 
Standart destructor
| int geo::Point::XCoordinate | ( | ) | const | 
Asks for the X-coordinate
| int geo::Point::YCoordinate | ( | ) | const | 
Asks for the Y-coordinate
| void geo::Point::SetXCoordinate | ( | int | v | ) | 
Sets the X-coordinate
| v | the value | 
| void geo::Point::SetyCoordinate | ( | int | v | ) | 
Sets the Y-coordinate
| v | the value | 
| int geo::Point::m_x  [protected] | 
| int geo::Point::m_y  [protected] | 
 1.5.1-p1
 1.5.1-p1