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

Method intersects

src/qt/qcustomplot.cpp:2296–2300  ·  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

2294 \see intersection, contains
2295*/
2296bool QCPDataRange::intersects(const QCPDataRange &other) const
2297{
2298 return !( (mBegin > other.mBegin && mBegin >= other.mEnd) ||
2299 (mEnd <= other.mBegin && mEnd < other.mEnd) );
2300}
2301
2302/*!
2303 Returns whether all data points described by this data range are also in \a other.

Callers 3

selectTestRectMethod · 0.80
drawMethod · 0.80
selectTestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected