|
| void | extendRT (const double value) |
| | extend the range such that it includes the given value More...
|
| |
| bool | containsRT (const double value) const |
| | is value within [min, max]? More...
|
| |
| bool | containsRT (const RangeBase &inner_range) const |
| | is the range inner_range within [min, max] of this range? More...
|
| |
| | RangeBase ()=default |
| | C'tor: initialize with empty range. More...
|
| |
| | RangeBase (const double single) |
| | Cutom C'tor which sets the range to a singular point. More...
|
| |
| | RangeBase (const double min, const double max) |
| |
| | RangeBase (const RangeBase &rhs)=default |
| | Copy C'tor. More...
|
| |
| | RangeBase (RangeBase &&rhs) noexcept=default |
| | Move C'tor (seems useless, but is required for completeness in derived classes' move c'tor) More...
|
| |
| RangeBase & | operator= (const RangeBase &rhs)=default |
| | Assignment operator. More...
|
| |
| RangeBase & | operator= (RangeBase &&rhs) noexcept=default |
| | Move assignment (seems useless, but is required for completeness in derived classes' move c'tor) More...
|
| |
|
We use accessors, to keep range consistent (i.e. ensure that min <= max)
|
| void | setMinRT (const double min) |
| | sets the minimum (and the maximum, if uninitialized) More...
|
| |
| void | setMaxRT (const double max) |
| | sets the maximum (and the minimum, if uninitialized) More...
|
| |
| double | getMinRT () const |
| |
| double | getMaxRT () const |
| |
| | RangeBase ()=default |
| | C'tor: initialize with empty range. More...
|
| |
| | RangeBase (const double single) |
| | Cutom C'tor which sets the range to a singular point. More...
|
| |
| | RangeBase (const double min, const double max) |
| |
| | RangeBase (const RangeBase &rhs)=default |
| | Copy C'tor. More...
|
| |
| | RangeBase (RangeBase &&rhs) noexcept=default |
| | Move C'tor (seems useless, but is required for completeness in derived classes' move c'tor) More...
|
| |
| RangeBase & | operator= (const RangeBase &rhs)=default |
| | Assignment operator. More...
|
| |
| RangeBase & | operator= (RangeBase &&rhs) noexcept=default |
| | Move assignment (seems useless, but is required for completeness in derived classes' move c'tor) More...
|
| |
| | ~RangeBase () noexcept=default |
| | D'tor. More...
|
| |
| | operator RangeRT () const |
| |
| | operator RangeMZ () const |
| |
| | operator RangeIntensity () const |
| |
| | operator RangeMobility () const |
| |
| void | clear () |
| | make the range empty, i.e. isEmpty() will be true More...
|
| |
| bool | isEmpty () const |
| | is the range empty (i.e. min > max)? More...
|
| |
| bool | contains (const double value) const |
| | is value within [min, max]? More...
|
| |
| bool | contains (const RangeBase &inner_range) const |
| | is the range inner_range within [min, max]? More...
|
| |
| void | extend (const RangeBase &other) |
| | ensure the range includes the range of other More...
|
| |
| void | extend (const double value) |
| | extend the range such that it includes the given value More...
|
| |
| void | extendLeftRight (const double by) |
| |
| void | minSpanIfSingular (const double min_span) |
| | If the current range is a single point, e.g. min==max, then extend the range by min_span / 2 on either side. More...
|
| |
| void | clampTo (const RangeBase &other) |
| |
| void | pushInto (const RangeBase &sandbox) |
| |
| void | scaleBy (const double factor) |
| | Scale the range of the dimension by a factor. A factor > 1 increases the range; factor < 1 decreases it. More...
|
| |
| void | shift (const double distance) |
| |
| double | center () const |
| |
| double | getSpan () const |
| |
| bool | operator== (const RangeBase &rhs) const |
| |
| std::pair< double, double > | getNonEmptyRange () const |
| | Return the current range, or (if empty) a full range (-1e308, 1e308). More...
|
| |
| void | setMin (const double min) |
| | sets the minimum (and the maximum, if uninitialized) More...
|
| |
| void | setMax (const double max) |
| | sets the maximum (and the minimum, if uninitialized) More...
|
| |
| double | getMin () const |
| |
| double | getMax () const |
| |