1 #ifndef BASICTOOL_GEOAABOX_CXX 2 #define BASICTOOL_GEOAABOX_CXX 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)
36 return !( (pt[0] <
_min[0] ||
_max[0] < pt[0]) ||
37 (pt[1] <
_min[1] ||
_max[1] < pt[1]) ||
AABox()
Default constructor.
Point_t _max
Maximum point.
Point_t _min
Minimum point.
const Point_t & Min() const
Minimum point getter.
Class def header for a class AABox.
bool Contain(const Point_t &pt) const
Test if a point is contained within the box.
const Point_t & Max() const
Maximum point getter.