|
ubit
|
#include <ugeom.hpp>
Public Member Functions | |
| UPoint (float _x, float _y) | |
| float | getX () const |
| float | getY () const |
| void | set (float _x, float _y) |
| void | set (const UPoint &p) |
Public Attributes | |
| float | x |
| float | y |
Friends | |
| std::ostream & | operator<< (std::ostream &, const UPoint &) |
| prints the point on an output stream (eg: cout << point). | |
| std::istream & | operator>> (std::istream &, UPoint &) |
| reads the point from an input stream (eg: cin >> point). | |
2D Point.
1.8.12