MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / intersects

Method intersects

3rdparty/qcustomplot/qcustomplot.cpp:2328–2332  ·  view source on GitHub ↗

! Returns whether this data range and \a other share common data points. \see intersection, contains */

Source from the content-addressed store, hash-verified

2326 \see intersection, contains
2327*/
2328bool QCPDataRange::intersects(const QCPDataRange &other) const
2329{
2330 return !( (mBegin > other.mBegin && mBegin >= other.mEnd) ||
2331 (mEnd <= other.mBegin && mEnd < other.mEnd) );
2332}
2333
2334/*!
2335 Returns whether all data points of \a other are also contained inside this data range.

Callers 3

selectTestRectMethod · 0.80
drawMethod · 0.80
selectTestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected