Files
Upsilon/apps/graph/values/interval.h
Émilie Feral f3428f28e5 [apps/graph/value] Add methods -get/set- to the class interval
Change-Id: I77a506a9bd689979a09706bb10403f5db0a90758
2016-10-14 12:24:27 +02:00

28 lines
403 B
C++

#ifndef GRAPH_VALUES_INTERVAL_H
#define GRAPH_VALUES_INTERVAL_H
namespace Graph {
class Interval {
public:
Interval(float start, float end, float step);
int numberOfElements();
float element(int i);
float start();
float end();
float step();
void setStart(float f);
void setEnd(float f);
void setStep(float f);
private:
float m_start;
float m_end;
float m_step;
};
}
#endif