#include <vbl_bounding_box.h>

Public Member Functions | |
| vbl_bounding_box_base () | |
| Construct an empty bounding box. More... | |
| void | update (T const &x) |
| Incorporate 1d point x. More... | |
| void | update (T const &x, T const &y) |
| Incorporate 2d point x, y. More... | |
| void | update (T const &x, T const &y, T const &z) |
| Incorporate 3d point x, y, z. More... | |
| int | dimension () const |
| return dimension. More... | |
| void | update (T const *point) |
| Incorporate DIM-d point. More... | |
| void | reset () |
| Reset to empty. More... | |
| bool | empty () const |
| Return initialisation status. More... | |
| bool | inside (const T &x, const T &y) const |
| is a 2D point inside the bounding box. More... | |
| bool | inside (const T &x, const T &y, const T &z) const |
| is a 3D point inside the bounding box. More... | |
| bool | inside (T const *point) const |
| inside test for arbitrary dimension. More... | |
| T | volume () const |
| return "volume". More... | |
| std::ostream & | print (std::ostream &s) const |
| T const * | min () const |
| T const * | max () const |
| T * | min () |
| T * | max () |
| T const & | xmin () const |
| T const & | xmax () const |
| T const & | ymin () const |
| T const & | ymax () const |
| T const & | zmin () const |
| T const & | zmax () const |
Private Attributes | |
| bool | initialized_ |
| T | min_ [DIM_::value] |
| T | max_ [DIM_::value] |
Definition at line 32 of file vbl_bounding_box.h.
|
inline |
Construct an empty bounding box.
Definition at line 36 of file vbl_bounding_box.h.
|
inline |
return dimension.
Definition at line 59 of file vbl_bounding_box.h.
|
inline |
Return initialisation status.
Definition at line 79 of file vbl_bounding_box.h.
|
inline |
is a 2D point inside the bounding box.
Definition at line 82 of file vbl_bounding_box.h.
|
inline |
is a 3D point inside the bounding box.
Definition at line 93 of file vbl_bounding_box.h.
|
inline |
inside test for arbitrary dimension.
Definition at line 105 of file vbl_bounding_box.h.
|
inline |
Definition at line 125 of file vbl_bounding_box.h.
|
inline |
Definition at line 128 of file vbl_bounding_box.h.
|
inline |
Definition at line 124 of file vbl_bounding_box.h.
|
inline |
Definition at line 127 of file vbl_bounding_box.h.
| std::ostream & vbl_bounding_box_base< T, DIM_ >::print | ( | std::ostream & | s | ) | const |
Definition at line 21 of file vbl_bounding_box.hxx.
|
inline |
Reset to empty.
Definition at line 76 of file vbl_bounding_box.h.
|
inline |
Incorporate 1d point x.
Definition at line 39 of file vbl_bounding_box.h.
|
inline |
Incorporate 2d point x, y.
Definition at line 45 of file vbl_bounding_box.h.
|
inline |
Incorporate 3d point x, y, z.
Definition at line 52 of file vbl_bounding_box.h.
|
inline |
Incorporate DIM-d point.
Definition at line 62 of file vbl_bounding_box.h.
|
inline |
return "volume".
Definition at line 114 of file vbl_bounding_box.h.
|
inline |
Definition at line 131 of file vbl_bounding_box.h.
|
inline |
Definition at line 130 of file vbl_bounding_box.h.
|
inline |
Definition at line 133 of file vbl_bounding_box.h.
|
inline |
Definition at line 132 of file vbl_bounding_box.h.
|
inline |
Definition at line 135 of file vbl_bounding_box.h.
|
inline |
Definition at line 134 of file vbl_bounding_box.h.
|
private |
Definition at line 161 of file vbl_bounding_box.h.
|
private |
Definition at line 163 of file vbl_bounding_box.h.
|
private |
Definition at line 162 of file vbl_bounding_box.h.
1.8.15