![]() |
Scribus
Open source desktop publishing at your fingertips
|
Public Types | |
typedef Coord | output_type |
Public Member Functions | |
Interval (Coord u) | |
Interval (Coord u, Coord v) | |
double | operator[] (unsigned i) const |
double & | operator[] (unsigned i) |
Coord | min () const |
Coord | max () const |
Coord | extent () const |
Coord | middle () const |
bool | isEmpty () const |
bool | contains (Coord val) const |
bool | contains (const Interval &val) const |
bool | intersects (const Interval &val) const |
bool | operator== (Interval other) |
bool | operator!= (Interval other) |
Interval | operator+ (Coord amnt) |
Interval | operator- (Coord amnt) |
Interval | operator+= (Coord amnt) |
Interval | operator-= (Coord amnt) |
Interval | operator- () const |
Interval | operator* (Coord s) const |
Interval | operator/ (Coord s) const |
Interval | operator*= (Coord s) |
Interval | operator/= (Coord s) |
void | setMin (Coord val) |
void | setMax (Coord val) |
void | extendTo (Coord val) |
void | expandBy (double amnt) |
void | unionWith (const Interval &a) |
Static Public Member Functions | |
static Interval | fromArray (const Coord *c, int n) |