Contains class to represent a cartesian 2D bounding box. More...
Go to the source code of this file.
Classes | |
| class | vgl_box_2d< Type > |
| Represents a cartesian 2D box. More... | |
Defines | |
| #define | VGL_BOX_2D_INSTANTIATE(T) extern "please include vgl/vgl_box_2d.txx first" |
Functions | |
| template<class Type > | |
| vcl_ostream & | operator<< (vcl_ostream &s, vgl_box_2d< Type > const &p) |
| Write box to stream. | |
| template<class Type > | |
| vcl_istream & | operator>> (vcl_istream &is, vgl_box_2d< Type > &p) |
| Read box from stream. | |
| template<class T , class ITER > | |
| void | vgl_box_2d_bounds (ITER begin, ITER end, vgl_box_2d< T > &bounding_box) |
| Calculate the bounding box of a sequence of points or boxes. | |
Contains class to represent a cartesian 2D bounding box.
Modifications
IMS (Manchester)14 Mar 2001: Tidied up the documentation + added binary_io
Amitha Perera 10 Jul 2001: Deprecated get_*() in favour of *(), as agreed in Zurich.
Peter Vanroose 5 Oct 2001: Added operator==() and is_empty()
Peter Vanroose 6 Oct 2001: Added method add(vgl_point_2d<T>) to enlarge a box
Peter Vanroose 7 Oct 2001: Removed deprecated get_*() functions
Peter Vanroose Feb 2002: brief doxygen comment placed on single line
Peter Vanroose 12 Sep 2002: Added method add(vgl_box_2d<T>) to enlarge a box
Peter Vanroose 22 Apr 2003: Interface change (centroid constructor): now in correspondence with vgl_box_3d<T>
Peter Vanroose 13 May 2003: Constructor interface change (backward compat)
Peter Vanroose 15 Oct 2003: Removed deprecated constructors without 4th arg
Peter Vanroose 16 Oct 2003: Corner pts given to constructor may now be in any order
Gamze Tunali 25 Jan 2007: Moved intersect(box1,box2) to vgl_intersection
Peter Vanroose 30 Mar 2007: Commented out deprecated intersect() function
Peter Vanroose 22 Jul 2009: Moved vgl_intersection() to vgl_intersection.h
Definition in file vgl_box_2d.h.
| #define VGL_BOX_2D_INSTANTIATE | ( | T | ) | extern "please include vgl/vgl_box_2d.txx first" |
Definition at line 263 of file vgl_box_2d.h.
| vcl_ostream & operator<< | ( | vcl_ostream & | s, |
| vgl_box_2d< Type > const & | p | ||
| ) |
Write box to stream.
Definition at line 368 of file vgl_box_2d.txx.
| vcl_istream & operator>> | ( | vcl_istream & | is, |
| vgl_box_2d< Type > & | p | ||
| ) |
Read box from stream.
Definition at line 375 of file vgl_box_2d.txx.
| void vgl_box_2d_bounds | ( | ITER | begin, |
| ITER | end, | ||
| vgl_box_2d< T > & | bounding_box | ||
| ) |
Calculate the bounding box of a sequence of points or boxes.
Definition at line 257 of file vgl_box_2d.h.
1.7.5.1