aimstil  5.0.5
boxTools.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 til
 Belongs to package Box Do not include directly, include til/Box.h instead.
 

Functions

template<typename T , typename TStorage , std::size_t D>
boost::enable_if< is_numeric_container< TStorage >, bool >::type til::contains (const Box< T, D > &box, const TStorage &v)
 Check whether a point lies within box. More...
 
template<typename T1 , typename T2 , std::size_t D>
bool til::contains (const Box< T1, D > &boxOutside, const Box< T2, D > &boxInside)
 Check whether box1 contains box2. More...
 
template<typename T , std::size_t D>
Box< T, D > til::intersection (const Box< T, D > &b1, const Box< T, D > &b2)
 Computes the intersection of two boxes. More...
 
template<typename T , std::size_t D>
std::ostream & til::operator<< (std::ostream &os, const Box< T, D > &box)
 Standard operator<< to print the coordinates of a Box object. More...
 
template<typename T , std::size_t D>
numeric_array< T, D > til::size (const Box< T, D > &box)
 Return the size of a box. More...
 
template<typename T , std::size_t D>
til::volume (const Box< T, D > &box)
 Return the volume of a box. More...