11 AABox::AABox(
const double x_min,
const double y_min,
const double z_min,
12 const double x_max,
const double y_max,
const double z_max)
13 : _min ( x_min, y_min, z_min )
14 , _max ( x_max, y_max, z_max )
21 if(min.size()!=3 || max.size()!=3)
34 return !( (pt[0] <
_min[0] ||
_max[0] < pt[0]) ||
35 (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.
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.