1 #ifndef BASICTOOL_GEOAABOX_CXX
2 #define BASICTOOL_GEOAABOX_CXX
13 AABox::AABox(
const double x_min,
const double y_min,
const double z_min,
14 const double x_max,
const double y_max,
const double z_max)
15 : _min ( x_min, y_min, z_min )
16 , _max ( x_max, y_max, z_max )
23 if(min.size()!=3 || max.size()!=3)
24 throw GeoAlgoException(
"AABox ctor accepts only 3D Point!");
30 void AABox::Min(
const double x,
const double y,
const double z)
32 void AABox::Max(
const double x,
const double y,
const double z)
36 return !( (pt[0] <
_min[0] ||
_max[0] < pt[0]) ||
37 (pt[1] <
_min[1] ||
_max[1] < pt[1]) ||
process_name opflash particleana ie ie ie z
AABox()
Default constructor.
process_name opflash particleana ie x
Point_t _max
Maximum point.
Point_t _min
Minimum point.
const Point_t & Min() const
Minimum point getter.
recob::tracking::Point_t Point_t
process_name opflash particleana ie ie y
bool Contain(const Point_t &pt) const
Test if a point is contained within the box.
const Point_t & Max() const
Maximum point getter.
recob::tracking::Vector_t Vector_t