Bbox_2 b ( double x_min, double y_min, double x_max, double y_max); | |
introduces a bounding box b with lower left corner at
(xmin, ymin) and with upper right corner at
(xmax, ymax).
|
bool | b.operator== ( c) const | Test for equality. | ||
bool | b.operator!= ( q) const | Test for inequality. | ||
int | b.dimension () const | Returns 2. | ||
double | b.xmin () const | |||
double | b.ymin () const | |||
double | b.xmax () const | |||
double | b.ymax () const | |||
double | b.min ( int i) const |
Returns xmin() if i==0 or ymin() if i==1.
| ||
double | b.max ( int i) const |
Returns xmax() if i==0 or ymax() if i==1.
| ||
Bbox_2 | b.operator+ ( c) const | returns a bounding box of b and c. |