Menu

#78 QwtInterval, overload contains

None
closed
nobody
None
5
2020-08-26
2015-09-16
Anonymous
No

QwtInterval::contains check only for a single value.
Would be nice to have a something like this:

bool QwtInterval::contains( const QwtInterval &other ) const
{
// the Flags are missing in this example
return this->contains( other.minValue() ) && this->contains( other.maxValue() );
}

Thsi should check if QwtInterval other is inside

Discussion

  • Uwe Rathmann

    Uwe Rathmann - 2020-08-26
    • status: open --> closed
    • Group: -->
     
  • Uwe Rathmann

    Uwe Rathmann - 2020-08-26

    added for all branches >= 6.2

     

Anonymous
Anonymous

Add attachments
Cancel