![]() |
libimgdoc2
|
#include <Intervals.h>
Public Member Functions | |
bool | IsValid () const |
Query if this object is valid. More... | |
bool | operator== (const DoubleInterval &rhs) const |
Equality operator. More... | |
bool | operator!= (const DoubleInterval &rhs) const |
Inequality operator. More... | |
Public Attributes | |
double | minimum_value { std::numeric_limits<double>::max() } |
The minimum value. | |
double | maximum_value { std::numeric_limits<double>::lowest() } |
The maximum value. | |
This structure gathers a minimum and maximum value. If minimum is greater than maximum, this means that the bounds is invalid.
|
inline |
Query if this object is valid.
|
inline |
Inequality operator.
In case the both are 'not valid', then they are considered equal (irrespective of the actual values).
rhs | The right hand side. |
|
inline |
Equality operator.
In case the both are 'not valid', then they are considered equal (irrespective of the actual values).
rhs | The right hand side. |