! \overload Returns an expanded range that contains this and \a otherRange. 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, the returned range's bound will be taken from \a otherRange. \see expand */
| 1996 | \see expand |
| 1997 | */ |
| 1998 | QCPRange QCPRange::expanded(const QCPRange &otherRange) const |
| 1999 | { |
| 2000 | QCPRange result = *this; |
| 2001 | result.expand(otherRange); |
| 2002 | return result; |
| 2003 | } |
| 2004 | |
| 2005 | /*! \overload |
| 2006 |