Navigation: Up, Table of Contents, Bibliography, Index, Title Page

2D Bbox (CGAL_Bbox_2)

Definition

An object b of the class CGAL_Bbox_2 is a bounding box in the two-dimensional Euclidean plane E2. This class is not templated.

#include <CGAL/Bbox_2.h>

Creation

CGAL_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).

Operations

bool b == c Test for equality.
bool b != q Test for inequality.
double b.xmin ()
double b.ymin ()
double b.xmax ()
double b.ymax ()
CGAL_Bbox_2 b + c returns a bounding box of b and c.
bool CGAL_do_overlap ( bb1, bb2)


Return to chapter: 2D Iso-oriented Objects
Navigation: Up, Table of Contents, Bibliography, Index, Title Page
The CGAL Project. Wed, January 20, 1999.