1 #ifndef GRAIL_STEP_FUNCTION_H
2 #define GRAIL_STEP_FUNCTION_H
13 float startPoint = 0.0f;
14 bool inclusiveStartPoint =
false;
22 virtual float Sample(
float argument)
const override;
24 std::vector<StepData>& GetData();
25 const std::vector<StepData>& GetData()
const;
27 CurveTypeId GetTypeId()
const override;
30 std::vector<StepData> data{};
The Curve class - Defines objects transforming one value into the other.
Definition: Curve.hh:17
Definition: StaircaseFunction.hh:18
virtual float Sample(float argument) const override
Sample - User-defined method which processes provided value (currently vector of values - multidemens...
Definition: StaircaseFunction.cpp:23
Definition: StaircaseFunction.hh:11