15 #ifndef BORNAGAIN_BASE_AXIS_CONSTKBINAXIS_H
16 #define BORNAGAIN_BASE_AXIS_CONSTKBINAXIS_H
30 ConstKBinAxis(
const std::string& name,
size_t nbins,
double start,
double end);
35 void clip(
double lower,
double upper)
override;
40 void print(std::ostream& ostr)
const override;
Defines class VariableBinAxis.
Axis with fixed bin size in sin(angle) space.
void print(std::ostream &ostr) const override
bool equals(const IAxis &other) const override
ConstKBinAxis(const std::string &name, size_t nbins, double start, double end)
ConstKBinAxis constructor.
~ConstKBinAxis() override=default
void clip(double lower, double upper) override
Clips this axis to the given values.
ConstKBinAxis * clone() const override
Abstract base class for one-dimensional axes.
Axis with variable bin size.