MCPcopy Create free account
hub / github.com/LUX-Core/lux / findBegin

Method findBegin

src/qt/qcustomplot.cpp:27423–27436  ·  view source on GitHub ↗

inherits documentation from base class */

Source from the content-addressed store, hash-verified

27421
27422/* inherits documentation from base class */
27423int QCPErrorBars::findBegin(double sortKey, bool expandedRange) const
27424{
27425 if (mDataPlottable)
27426 {
27427 if (mDataContainer->isEmpty())
27428 return 0;
27429 int beginIndex = mDataPlottable->interface1D()->findBegin(sortKey, expandedRange);
27430 if (beginIndex >= mDataContainer->size())
27431 beginIndex = mDataContainer->size()-1;
27432 return beginIndex;
27433 } else
27434 qDebug() << Q_FUNC_INFO << "no data plottable set";
27435 return 0;
27436}
27437
27438/* inherits documentation from base class */
27439int QCPErrorBars::findEnd(double sortKey, bool expandedRange) const

Callers 5

getVisibleDataBoundsMethod · 0.45
pointDistanceMethod · 0.45
getValueRangeMethod · 0.45
getStackedBaseValueMethod · 0.45
updatePositionMethod · 0.45

Calls 2

isEmptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected