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]) ||
AABox()
Default constructor.
Class def header for a class GeoAlgoException.
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.
static int max(int a, int b)
T min(sqlite3 *const db, std::string const &table_name, std::string const &column_name)
const Point_t & Max() const
Maximum point getter.