Files
Upsilon/apps/graph/values/interval.h
Émilie Feral 300d595c9d [apps/graph/values] Create a class Interval
Change-Id: Ie05a9887c0f3d4146b9e90a139f57e6eec7981b1
2016-10-12 17:39:53 +02:00

21 lines
279 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);
private:
float m_start;
float m_end;
float m_step;
};
}
#endif