##// END OF EJS Templates
Add intersect méthode on variable and sqpDateTime...
Add intersect méthode on variable and sqpDateTime Remove dateTime variable in the contains method

File last commit:

r188:a02da6065266
r258:00cdbd31ff7e
Show More
ScalarSeries.cpp
13 lines | 416 B | text/x-c | CppLexer
/ core / src / Data / ScalarSeries.cpp
Alexandre Leroux
Creates scalar series
r126 #include <Data/ScalarSeries.h>
Alexandre Leroux
Fixes after review
r188 ScalarSeries::ScalarSeries(int size, const Unit &xAxisUnit, const Unit &valuesUnit)
: DataSeries{std::make_shared<ArrayData<1> >(size), xAxisUnit,
std::make_shared<ArrayData<1> >(size), valuesUnit}
Alexandre Leroux
Creates scalar series
r126 {
}
void ScalarSeries::setData(int index, double x, double value) noexcept
{
xAxisData()->setData(index, x);
valuesData()->setData(index, value);
}