UGDK  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ugdk::structure::Box< DIMENSIONS > Singleton Reference

#include <ugdk/structure/box.h>

Inheritance diagram for ugdk::structure::Box< DIMENSIONS >:
Collaboration diagram for ugdk::structure::Box< DIMENSIONS >:

Public Types

typedef std::array< Coordinate,
DIMENSIONS > 
Point
 

Public Member Functions

 Box ()
 
 Box (const Point &min_coordinates, const Point &max_coordinates)
 
virtual ~Box ()
 
void UpdateBox (const Box &)
 
bool IsBelow (int depth, Coordinate boundary) const
 
bool IsAbove (int depth, Coordinate boundary) const
 
bool Contains (const Box &box) const
 
bool Intersects (const Box *box) const
 
const Pointmin_coordinates () const
 
const Pointmax_coordinates () const
 

Protected Attributes

Point min_coordinates_
 
Point max_coordinates_
 

Member Typedef Documentation

template<int DIMENSIONS>
typedef std::array<Coordinate, DIMENSIONS> ugdk::structure::Box< DIMENSIONS >::Point

Constructor & Destructor Documentation

template<int DIMENSIONS>
ugdk::structure::Box< DIMENSIONS >::Box ( )
template<int DIMENSIONS>
ugdk::structure::Box< DIMENSIONS >::Box ( const Point min_coordinates,
const Point max_coordinates 
)
template<int DIMENSIONS>
ugdk::structure::Box< DIMENSIONS >::~Box ( )
virtual

Member Function Documentation

template<int DIMENSIONS>
bool ugdk::structure::Box< DIMENSIONS >::Contains ( const Box< DIMENSIONS > &  box) const
template<int DIMENSIONS>
bool ugdk::structure::Box< DIMENSIONS >::Intersects ( const Box< DIMENSIONS > *  box) const
template<int DIMENSIONS>
bool ugdk::structure::Box< DIMENSIONS >::IsAbove ( int  depth,
Coordinate  boundary 
) const
template<int DIMENSIONS>
bool ugdk::structure::Box< DIMENSIONS >::IsBelow ( int  depth,
Coordinate  boundary 
) const
template<int DIMENSIONS>
const Box< DIMENSIONS >::Point & ugdk::structure::Box< DIMENSIONS >::max_coordinates ( ) const
template<int DIMENSIONS>
const Box< DIMENSIONS >::Point & ugdk::structure::Box< DIMENSIONS >::min_coordinates ( ) const
template<int DIMENSIONS>
void ugdk::structure::Box< DIMENSIONS >::UpdateBox ( const Box< DIMENSIONS > &  box)

Member Data Documentation

template<int DIMENSIONS>
Point ugdk::structure::Box< DIMENSIONS >::max_coordinates_
protected
template<int DIMENSIONS>
Point ugdk::structure::Box< DIMENSIONS >::min_coordinates_
protected

The documentation for this singleton was generated from the following file: