Extend InterpolationArray

This commit is contained in:
Flakebi 2015-04-19 02:51:26 +02:00
parent 35aeeea6c6
commit cedd816ca1

View File

@ -43,6 +43,14 @@ private:
public:
InterpolationArray() {};
/** Removes all saved values from this object. */
void clear()
{
m_x.clear();
m_y.clear();
m_delta.clear();
}
/** Adds the value pair x/y to the list of all points. It is tested
* that the x values are added in order.
* \param x, y The pair to add.