Image Component Library (ICL)
|
internally used axis-aligned bounding box More...
#include <QuadTree.h>
Public Member Functions | |
AABB () | |
default constructor (does nothing) More... | |
AABB (const Pt ¢er, const Pt &halfSize) | |
constructor from given center and half size More... | |
bool | contains (const Pt &p) const |
returns whether a given 2D point is contained More... | |
bool | intersects (const AABB &o) const |
returns whether the AABB intersects with another AABB More... | |
utils::Rect32f | rect () const |
Public Attributes | |
Pt | center |
center point More... | |
Pt | halfSize |
half dimension More... | |
internally used axis-aligned bounding box
An AABB is defined by its center point and it half bounds into x- and y-direction
|
inline |
default constructor (does nothing)
|
inline |
constructor from given center and half size
|
inline |
returns whether a given 2D point is contained
|
inline |
|
inline |
Pt icl::math::QuadTree< Scalar, CAPACITY, SF, ALLOC_CHUNK_SIZE, VECTOR_TYPE >::AABB::center |
center point
Pt icl::math::QuadTree< Scalar, CAPACITY, SF, ALLOC_CHUNK_SIZE, VECTOR_TYPE >::AABB::halfSize |
half dimension