Abstract base class for N-dimensional integration domains.
Convex polytope (convex polyhedron) integration domain.
PolyTope(const std::vector< geom::Point< dim > > &vertices, const std::vector< std::array< double, dim > > &norms, const std::vector< double > &offs)
Construct a polytope from vertices and facet constraints.
geom::Bounds< dim > getBounds() const override
Get the axis-aligned bounding box containing the polytope.
double getBoxVolume() const override
Get the volume of the axis-aligned bounding box.
bool isInside(const geom::Point< dim > &p) const override
Test if a point is inside or on the boundary of the polytope.
Abstract interface for N-dimensional integration domains.