Stellarium 0.15.2
|
Public Member Functions | |
QCPRange (double lower, double upper) | |
bool | operator== (const QCPRange &other) const |
bool | operator!= (const QCPRange &other) const |
QCPRange & | operator+= (const double &value) |
QCPRange & | operator-= (const double &value) |
QCPRange & | operator*= (const double &value) |
QCPRange & | operator/= (const double &value) |
double | size () const |
double | center () const |
void | normalize () |
void | expand (const QCPRange &otherRange) |
QCPRange | expanded (const QCPRange &otherRange) const |
QCPRange | sanitizedForLogScale () const |
QCPRange | sanitizedForLinScale () const |
bool | contains (double value) const |
Static Public Member Functions | |
static bool | validRange (double lower, double upper) |
static bool | validRange (const QCPRange &range) |
Public Attributes | |
double | lower |
double | upper |
Static Public Attributes | |
static const double | minRange |
static const double | maxRange |
Friends | |
const QCPRange | operator+ (const QCPRange &, double) |
const QCPRange | operator+ (double, const QCPRange &) |
const QCPRange | operator- (const QCPRange &range, double value) |
const QCPRange | operator* (const QCPRange &range, double value) |
const QCPRange | operator* (double value, const QCPRange &range) |
const QCPRange | operator/ (const QCPRange &range, double value) |
Definition at line 476 of file qcustomplot.h.
|
inline |
Multiplies both boundaries of the range by value.
Definition at line 489 of file qcustomplot.h.
|
inline |
Adds value to both boundaries of the range.
Definition at line 487 of file qcustomplot.h.
|
inline |
Subtracts value from both boundaries of the range.
Definition at line 488 of file qcustomplot.h.
|
inline |
Divides both boundaries of the range by value.
Definition at line 490 of file qcustomplot.h.
Multiplies both boundaries of the range by value.
Definition at line 572 of file qcustomplot.h.
Multiplies both boundaries of the range by value.
Definition at line 582 of file qcustomplot.h.
Adds value to both boundaries of the range.
Definition at line 542 of file qcustomplot.h.
Adds value to both boundaries of the range.
Definition at line 552 of file qcustomplot.h.
Subtracts value from both boundaries of the range.
Definition at line 562 of file qcustomplot.h.
Divides both boundaries of the range by value.
Definition at line 592 of file qcustomplot.h.