#include <BoundingBox.h>
Public Member Functions | |
| BoundingBox () | |
| Create a bounding box without an initial point or ray. More... | |
| BoundingBox (const Point &initial) | |
| Create a bounding box bounding an initial point. More... | |
| BoundingBox (const Ray &initial) | |
| Create a bounding box bounding an initial ray. More... | |
| template<typename RayOrPointIterator > | |
| BoundingBox (const RayOrPointIterator &begin, const RayOrPointIterator &end) | |
| Create a bounding box from an iterator pair. More... | |
| bool | inside (const Point &point) const |
| Return true if point is inside bounding box. More... | |
| const Ray & | bounds () const |
| Return the ray representing the bounds. More... | |
| void | operator() (const Point &p) |
| Enlarge bounds to hold point. More... | |
| void | operator() (const Ray &r) |
| Enlarge bounds to hold ray. More... | |
| template<typename RayOrPointIterator > | |
| void | operator() (const RayOrPointIterator &begin, const RayOrPointIterator &end) |
| bool | empty () const |
Private Attributes | |
| Ray | m_bounds |
| bool | m_initialized = false |
A bounding box parallel to the Cartesian axes.
Definition at line 11 of file BoundingBox.h.
|
inline |
Create a bounding box without an initial point or ray.
Definition at line 18 of file BoundingBox.h.
| WireCell::BoundingBox::BoundingBox | ( | const Point & | initial | ) |
| WireCell::BoundingBox::BoundingBox | ( | const Ray & | initial | ) |
|
inline |
Create a bounding box from an iterator pair.
Definition at line 28 of file BoundingBox.h.
|
inline |
|
inline |
Definition at line 49 of file BoundingBox.h.
| void WireCell::BoundingBox::operator() | ( | const Point & | p | ) |
| void WireCell::BoundingBox::operator() | ( | const Ray & | r | ) |
Enlarge bounds to hold ray.
Definition at line 5 of file BoundingBox.cxx.
|
inline |
Definition at line 45 of file BoundingBox.h.
|
private |
Definition at line 12 of file BoundingBox.h.
|
private |
Definition at line 13 of file BoundingBox.h.
1.8.11