#include <geometry.hpp>
Public Member Functions | |
Rect (const T &x, const T &y, const T &width, const T &height) | |
const T & | x () const |
const T & | y () const |
const T & | width () const |
const T & | height () const |
Point2< T > | center () const |
void | setX (const T &x) |
void | setY (const T &y) |
void | setWidth (const T &width) |
void | setHeight (const T &height) |
T | area () const |
rectangle | toCRectangle () const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References create_rectangle().
|
inline |
|
inline |
|
inline |