#include <CGAL/Bbox_2.h>
An object b of the class Bbox_2 is a bounding box in the two-dimensional Euclidean plane \( \E^2\).
This class is not templated.
- See Also
CGAL::Bbox_3
- Examples:
- Kernel_23/MyConstruct_bbox_2.h.
|
| | Bbox_2 (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). More...
|
| |
| CGAL::Bbox_2::Bbox_2 |
( |
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).
| int CGAL::Bbox_2::dimension |
( |
| ) |
const |
| double CGAL::Bbox_2::max |
( |
int |
i | ) |
const |
Returns xmax() if i==0 or ymax() if i==1.
- Precondition
- i==0 or i==1
| double CGAL::Bbox_2::min |
( |
int |
i | ) |
const |
Returns xmin() if i==0 or ymin() if i==1.
- Precondition
- i==0 or i==1
| bool CGAL::Bbox_2::operator!= |
( |
const Bbox_2 & |
q | ) |
const |
returns a bounding box of b and c.
updates b to be the bounding box of b and c and returns itself.
| bool CGAL::Bbox_2::operator== |
( |
const Bbox_2 & |
c | ) |
const |
| double CGAL::Bbox_2::xmax |
( |
| ) |
const |
| double CGAL::Bbox_2::xmin |
( |
| ) |
const |
| double CGAL::Bbox_2::ymax |
( |
| ) |
const |
| double CGAL::Bbox_2::ymin |
( |
| ) |
const |