MCPcopy Create free account
hub / github.com/CloudCompare/CloudCompare / dataPointCount

Method dataPointCount

qCC/extern/QCustomPlot/qcustomplot.cpp:2528–2534  ·  view source on GitHub ↗

! Returns the total number of data points contained in all data ranges that make up this data selection. */

Source from the content-addressed store, hash-verified

2526 selection.
2527*/
2528int QCPDataSelection::dataPointCount() const
2529{
2530 int result = 0;
2531 foreach (QCPDataRange dataRange, mDataRanges)
2532 result += dataRange.length();
2533 return result;
2534}
2535
2536/*!
2537 Returns the data range with the specified \a index.

Callers 1

processRectSelectionMethod · 0.80

Calls 1

lengthMethod · 0.80

Tested by

no test coverage detected