mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
31 lines
420 B
C++
31 lines
420 B
C++
#include "box_window.h"
|
|
|
|
namespace Statistics {
|
|
|
|
BoxWindow::BoxWindow(Data * data) :
|
|
m_data(data)
|
|
{
|
|
}
|
|
|
|
float BoxWindow::xMin() {
|
|
return m_data->minValue();
|
|
}
|
|
|
|
float BoxWindow::xMax() {
|
|
return m_data->maxValue();
|
|
}
|
|
|
|
float BoxWindow::yMin() {
|
|
return 0.0f;
|
|
}
|
|
|
|
float BoxWindow::yMax() {
|
|
return 1.0f;
|
|
}
|
|
|
|
float BoxWindow::xGridUnit() {
|
|
return computeGridUnit(Axis::X, m_data->minValue(), m_data->maxValue());
|
|
}
|
|
|
|
}
|