Kaim::Box2f Class Reference
#include <box2f.h>
2d axis aligned box of 32bits floating points
|
| Box2f () |
| Set { {+infinite, +infinite}, {-infinite, -infinite} }. More...
|
|
| Box2f (const Vec2f &_min, const Vec2f &_max) |
|
| Box2f (KyFloat32 min_x, KyFloat32 min_y, KyFloat32 max_x, KyFloat32 max_y) |
|
bool | operator== (const Box2f &other) const |
|
bool | operator!= (const Box2f &other) const |
|
void | Clear () |
| Set { {+infinite, +infinite}, {-infinite, -infinite} }. More...
|
|
bool | IsValid () const |
|
void | Set (const Vec2f &min_, const Vec2f &max_) |
|
void | Set (KyFloat32 min_x, KyFloat32 min_y, KyFloat32 max_x, KyFloat32 max_y) |
|
const Vec2f & | Min () const |
|
const Vec2f & | Max () const |
|
KyFloat32 | SizeX () |
| Return m_max.x - m_min.x. More...
|
|
KyFloat32 | SizeY () |
| Return m_max.y - m_min.y. More...
|
|
template<typename T > |
void | ExpandByPos (const T &pos) |
|
template<typename T > |
void | ExpandByBox (const T &box) |
|
void | Enlarge (KyFloat32 enlargement) |
|
template<typename T > |
bool | DoesContain (const T &P) const |
|
template<typename T > |
bool | DoesContainStrictly (const T &P) const |
|
Set { {+infinite, +infinite}, {-infinite, -infinite} }.
void Kaim::Box2f::Clear |
( |
| ) |
|
|
inline |
Set { {+infinite, +infinite}, {-infinite, -infinite} }.
Return m_max.x - m_min.x.
Return m_max.y - m_min.y.
The documentation for this class was generated from the following file: