Classes | Functions
core/vbl/vbl_bounding_box.h File Reference

Contains a bounding box class. More...

#include <vcl_iosfwd.h>
#include <vcl_cassert.h>

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".
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?.
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?.
template<class T , class DIM_ >
vcl_ostream & operator<< (vcl_ostream &s, const vbl_bounding_box_base< T, DIM_ > &bbox)

Detailed Description

Contains a bounding box class.

Author:
awf@robots.ox.ac.uk
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

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.

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.

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.

template<class T , class DIM_ >
vcl_ostream& operator<< ( vcl_ostream &  s,
const vbl_bounding_box_base< T, DIM_ > &  bbox 
)

Definition at line 36 of file vbl_bounding_box.txx.