Classes | Functions
vbl_bounding_box.h File Reference

Contains a bounding box class. More...

#include <iosfwd>
#include <cassert>
#include <type_traits>

Go to the source code of this file.

Classes

class  vbl_bounding_box_base< T, DIM_ >
 
class  vbl_bounding_box< T, DIM >
 A class to hold and update a bounding box. More...
 

Functions

template<class T , class DIM_ >
bool nested (vbl_bounding_box_base< T, DIM_ > const &a, vbl_bounding_box_base< T, DIM_ > const &b)
 this is "operator \subseteq". More...
 
template<class T , class DIM_ >
bool disjoint (vbl_bounding_box_base< T, DIM_ > const &a, vbl_bounding_box_base< T, DIM_ > const &b)
 is the intersection empty?. More...
 
template<class T , class DIM_ >
bool meet (vbl_bounding_box_base< T, DIM_ > const &a, vbl_bounding_box_base< T, DIM_ > const &b)
 is the intersection nonempty?. More...
 
template<class T , class DIM_ >
std::ostream & operator<< (std::ostream &s, const vbl_bounding_box_base< T, DIM_ > &bbox)
 

Detailed Description

Contains a bounding box class.

Author
awf@r.nosp@m.obot.nosp@m.s.ox..nosp@m.ac.u.nosp@m.k
Date
17 Mar 00
 Modifications
 970807 AWF Initial version.
 07 Mar 2001 stewart@cs.rpi.edu added "inside" functions
 21 Mar 2001 PDA (Manchester)   Tidied up the documentation
 13 Jul 2001 Peter Vanroose     bug fix in inside() when box is empty

Definition in file vbl_bounding_box.h.

Function Documentation

◆ disjoint()

template<class T , class DIM_ >
bool disjoint ( vbl_bounding_box_base< T, DIM_ > const &  a,
vbl_bounding_box_base< T, DIM_ > const &  b 
)
inline

is the intersection empty?.

Definition at line 194 of file vbl_bounding_box.h.

◆ meet()

template<class T , class DIM_ >
bool meet ( vbl_bounding_box_base< T, DIM_ > const &  a,
vbl_bounding_box_base< T, DIM_ > const &  b 
)
inline

is the intersection nonempty?.

Definition at line 206 of file vbl_bounding_box.h.

◆ nested()

template<class T , class DIM_ >
bool nested ( vbl_bounding_box_base< T, DIM_ > const &  a,
vbl_bounding_box_base< T, DIM_ > const &  b 
)
inline

this is "operator \subseteq".

Definition at line 183 of file vbl_bounding_box.h.

◆ operator<<()

template<class T , class DIM_ >
std::ostream& operator<< ( std::ostream &  s,
const vbl_bounding_box_base< T, DIM_ > &  bbox 
)

Definition at line 39 of file vbl_bounding_box.hxx.