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

Method expand

3rdparty/qcustomplot/qcustomplot.cpp:1959–1965  ·  view source on GitHub ↗

! \overload Expands this range such that \a otherRange is contained in the new range. It is assumed that both this range and \a otherRange are normalized (see \ref normalize). If this range contains NaN as lower or upper bound, it will be replaced by the respective bound of \a otherRange. If \a otherRange is already inside the current range, this function does nothing. \see expande

Source from the content-addressed store, hash-verified

1957 \see expanded
1958*/
1959void QCPRange::expand(const QCPRange &otherRange)
1960{
1961 if (lower > otherRange.lower || qIsNaN(lower))
1962 lower = otherRange.lower;
1963 if (upper < otherRange.upper || qIsNaN(upper))
1964 upper = otherRange.upper;
1965}
1966
1967/*! \overload
1968

Callers 6

expandedMethod · 0.45
foreachFunction · 0.45
rescaleKeyAxisMethod · 0.45
rescaleValueAxisMethod · 0.45
rescaleMethod · 0.45
valueRangeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected