#include <girlPoint.hpp>
Public Member Functions | |
TPoint (T px=0, T py=0) | |
Constructor. | |
T | x () const |
Gets x coordinate of point. | |
T | y () const |
Gets y coordinate of point. | |
void | set (T px, T py) |
Sets both coordinates of point. | |
void | setX (T px) |
Sets x coordinate of point to value px. | |
void | setY (T py) |
Sets y coordinate of point to value py. | |
bool | operator== (const girl::TPoint< T > &pt) const |
operator== | |
bool | operator!= (const girl::TPoint< T > &pt) const |
operator!= | |
Protected Attributes | |
T | m_x |
X coordinate. | |
T | m_y |
Y coordinate. |