This website is no longer maintained. Its content may be obsolete. Please visit http://home.cern/ for current CERN information.
#include <IRangeSet.h>
Public Methods | |
virtual | ~IRangeSet () |
Destructor. More... | |
virtual const std::vector< double>& | lowerBounds ()=0 |
virtual const std::vector< double>& | upperBounds ()=0 |
virtual void | include (double xMin, double xMax)=0 |
virtual void | exclude (double xMin, double xMax)=0 |
virtual void | includeAll ()=0 |
virtual void | excludeAll ()=0 |
virtual bool | isInRange (double point)=0 |
virtual int | size ()=0 |
virtual double | PLUS_INF ()=0 |
virtual double | MINUS_INF ()=0 |
Proposed rules for ranges:
Definition at line 42 of file IRangeSet.h.
|
Definition at line 46 of file IRangeSet.h. |
|
|
|
|
|
Exclude [xMin, xMax] interval from the existing set of valid ranges
|
|
Set empty range. |
|
Add [xMin, xMax] interval to existing set of valid ranges
|
|
Set full range (from MINUS_INF to PLUS_INF ). |
|
|
|
Return array of lower Bounds for the current set of ranges
|
|
Return current number of disjoint ranges (non-overlapping intervals). Note: it is not always equal to the number of times user set the range
|
|
Return array of upper Bounds for the current set of ranges
|