|
ubit
|
2D Dimension. More...
#include <ugeom.hpp>
Public Member Functions | |
| UDimension (float _w, float _h) | |
| float | getWidth () const |
| float | getHeight () const |
| void | set (float _w, float _h) |
| void | set (const UDimension &d) |
Public Attributes | |
| float | width |
| float | height |
Friends | |
| std::ostream & | operator<< (std::ostream &, const UDimension &) |
| prints the dimension on an output stream (eg: cout << dimension). | |
| std::istream & | operator>> (std::istream &, UDimension &) |
| reads the dimension from an input stream (eg: cin >> dimension). | |
2D Dimension.
1.8.12