MCPcopy Create free account
hub / github.com/Audio4Linux/JDSP4Linux / findBegin

Method findBegin

3rdparty/qcustomplot/qcustomplot.cpp:28296–28309  ·  view source on GitHub ↗

inherits documentation from base class */

Source from the content-addressed store, hash-verified

28294
28295/* inherits documentation from base class */
28296int QCPErrorBars::findBegin(double sortKey, bool expandedRange) const
28297{
28298 if (mDataPlottable)
28299 {
28300 if (mDataContainer->isEmpty())
28301 return 0;
28302 int beginIndex = mDataPlottable->interface1D()->findBegin(sortKey, expandedRange);
28303 if (beginIndex >= mDataContainer->size())
28304 beginIndex = mDataContainer->size()-1;
28305 return beginIndex;
28306 } else
28307 qDebug() << Q_FUNC_INFO << "no data plottable set";
28308 return 0;
28309}
28310
28311/* inherits documentation from base class */
28312int 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