|  | Maria GDK 5.0.0.910
    Documentation of native code in develop branch | 
#include <StkBox2.h>
| Public Member Functions | |
| constexpr | Box2 (Vector2< T > min, Vector2< T > max) | 
| const Vector2< T > & | min () const | 
| const Vector2< T > & | max () const | 
| void | setMin (const Vector2< T > &min) | 
| void | setMax (const Vector2< T > &max) | 
| void | expand (T x, T y) | 
| Expand by x in x-direction and y in y-direction. | |
| void | translate (const Vector2< T > &t) | 
| void | transform (const Matrix4x4f &xfm) | 
| T | width () const | 
| T | height () const | 
| Friends | |
| bool | operator== (const Box2< T > &b1, const Box2< T > &b2) | 
| bool | operator!= (const Box2< T > &b1, const Box2< T > &b2) | 
Box - 2D axis aligned box class