Axis-aligned hyperrectangular domain.
double getBoxVolume() const override
Compute the volume of the hyperrectangle.
bool isInside(const mc::geom::Point< dim > &point) const override
Test if a point is inside the hyperrectangle.
mc::geom::Bounds< dim > getBounds() const override
Get the axis-aligned bounding box (coincides with the domain).
HyperRectangle(std::array< double, dim > &dims)
Construct a hyperrectangle from dimension extents.
Abstract base class for N-dimensional integration domains.
Abstract interface for N-dimensional integration domains.