N-dimensional ball (solid sphere).
double getBoxVolume() const override
Get the volume of the bounding hypercube.
mc::geom::Bounds< dim > getBounds() const override
Get the axis-aligned bounding box (hypercube).
Hypersphere(double rad)
Construct a hypersphere of given radius.
bool isInside(const mc::geom::Point< dim > &point) const override
Test if a point is inside the hypersphere.
Abstract base class for N-dimensional integration domains.
Abstract interface for N-dimensional integration domains.