9template<
typename CoordType,
int dim>
19 for (
int i = 0; i <
dim; ++i)
25 for (
int i = 0; i <
dim; ++i)
31 for (
int i = 0; i <
dim; ++i)
39 for (
int i = 0; i <
dim; ++i)
Simple Box class.
Definition box.hh:11
CoordType lower_
Definition box.hh:67
Box(const CoordType &lower, const CoordType &upper)
Definition box.hh:17
Box(const Box &b)
Definition box.hh:23
CoordType center_
Definition box.hh:69
~Box()
Definition box.hh:14
CoordType upper_
Definition box.hh:68
bool intersects(const Box &b)
Definition box.hh:37
const CoordType & lower() const
Definition box.hh:56
const CoordType & center() const
Definition box.hh:45
bool contains(const CoordType &c) const
Definition box.hh:29
const CoordType & upper() const
Definition box.hh:61
double size(int i)
Definition box.hh:51