Point. More...
#include "cogitant/display/context.h"
Public Member Functions | |
| Point () | |
| Constructeur par défaut. More... | |
| Point (Coord x, Coord y) | |
| Constructeur. More... | |
| bool | operator== (Point const &p) const |
| Opérateur d'égalité. More... | |
| bool | operator!= (Point const &p) const |
| Opérateur de différence. More... | |
Public Attributes | |
| Coord | m_x |
| Coordonnée X. More... | |
| Coord | m_y |
| Coordonnée Y. More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Point &e) |
| Opérateur de sortie. More... | |
Point.
| cogitantdisplay::Point::Point | ( | ) |
Constructeur par défaut.
Le point construit est (0,0).
Constructeur.
| x | coordonnée X du point à construire. |
| y | coordonnée Y du point à construire. |
| bool cogitantdisplay::Point::operator!= | ( | Point const & | p | ) | const |
Opérateur de différence.
| bool cogitantdisplay::Point::operator== | ( | Point const & | p | ) | const |
Opérateur d'égalité.
|
friend |
Opérateur de sortie.
| Coord cogitantdisplay::Point::m_x |
Coordonnée X.
| Coord cogitantdisplay::Point::m_y |
Coordonnée Y.