11 #ifndef HYPERVOLUME_HH 12 #define HYPERVOLUME_HH 68 void print(std::ostream& os = std::cout,
int endline=1)
const;
76 double getMin(
int dimension)
const;
77 double getMax(
int dimension)
const;
HyperVolume splitAll(int dimension, double fractionalSplitPoint)
const HyperCuboid & at(int i) const
double getMin(int dimension) const
void push_back(const HyperCuboid &hyperCuboid)
bool inVolume(const HyperPoint &coords) const
HyperCuboid getLimits() const
HyperVolume operator+(const HyperVolume &other) const
HyperVolume & operator=(const HyperVolume &other)
const int & getDimension() const
std::vector< HyperCuboid > _hyperCuboids
HyperVolume(int dimension)
const std::vector< HyperCuboid > & getHyperCuboids() const
void addHyperCuboid(const HyperPoint &lowCorner, const HyperPoint &highCorner)
HyperVolume slice(const HyperPoint &coords, std::vector< int > dims) const
const HyperCuboid & getHyperCuboid(int i) const
void print(std::ostream &os=std::cout, int endline=1) const
HyperPoint getAverageCenter() const
double getMax(int dimension) const