![]()  | 
  
    Image Component Library (ICL)
    
   | 
 
internally used axis-aligned bounding box More...
#include <Octree.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... | |
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 | 
| Pt icl::math::Octree< Scalar, CAPACITY, SF, Pt, ALLOC_CHUNK_SIZE >::AABB::center | 
center point
| Pt icl::math::Octree< Scalar, CAPACITY, SF, Pt, ALLOC_CHUNK_SIZE >::AABB::halfSize | 
half dimension
 1.8.15