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

3D Bbox (Bbox_3)

Definition

An object b of the class Bbox_3 is a bounding box in the three-dimensional Euclidean space 3. This class is not templated.

#include <CGAL/Bbox_3.h>

Creation

Bbox_3 b ( double x_min,
double y_min,
double z_min,
double x_max,
double y_max,
double z_max);
introduces a bounding box b with lexicographically smallest corner point at (xmin, ymin, zmin) lexicographically largest corner point at (xmax, ymax, zmax).

Operations

bool b == c Test for equality: two bounding boxes are equal, if the lower left and the upper right corners are equal.

double b.xmin ()
double b.ymin ()
double b.zmin ()
double b.xmax ()
double b.ymax ()
double b.zmax ()

Bbox_3 b + c returns a bounding box of b and c.

bool do_overlap ( bb1, bb2)


Navigation: Up, Table of Contents, Bibliography, Index, Title Page
The GALIA project. Jan 18, 2000.