|
WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
|
#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 |
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 | ) |
Create a bounding box bounding an initial point.
Definition at line 3 of file BoundingBox.cxx.
| WireCell::BoundingBox::BoundingBox | ( | const Ray & | initial | ) |
Create a bounding box bounding an initial ray.
Definition at line 4 of file BoundingBox.cxx.
|
inline |
Create a bounding box from an iterator pair.
Definition at line 28 of file BoundingBox.h.

|
inline |
Return the ray representing the bounds.
Definition at line 36 of file BoundingBox.h.


|
inline |
| bool WireCell::BoundingBox::inside | ( | const Point & | point | ) | const |
Return true if point is inside bounding box.
Definition at line 29 of file BoundingBox.cxx.


| void WireCell::BoundingBox::operator() | ( | const Point & | p | ) |
Enlarge bounds to hold point.
Definition at line 10 of file BoundingBox.cxx.


| void WireCell::BoundingBox::operator() | ( | const Ray & | r | ) |
Enlarge bounds to hold ray.
Definition at line 5 of file BoundingBox.cxx.
|
inline |