#include <CGAL/Bbox_3.h>
An object b of the class Bbox_3 is a bounding box in the three-dimensional Euclidean space \( \E^3\).
- Is Model Of:
Hashable
- See also
CGAL::Bbox_2
|
| | Bbox_3 () |
| | introduces an empty bounding box with lower left corner point at \( (\infty, \infty, \infty) \) and with upper right corner point at \( (-\infty, -\infty, -\infty) \), \( \infty \) being std::numeric_limits<double>::infinity(). More...
|
| |
| | Bbox_3 (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) and lexicographically largest corner point at (xmax, ymax, zmax). More...
|
| |
◆ Bbox_3() [1/2]
introduces an empty bounding box with lower left corner point at \( (\infty, \infty, \infty) \) and with upper right corner point at \( (-\infty, -\infty, -\infty) \), \( \infty \) being std::numeric_limits<double>::infinity().
◆ Bbox_3() [2/2]
| CGAL::Bbox_3::Bbox_3 |
( |
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) and lexicographically largest corner point at (xmax, ymax, zmax).
◆ dilate()
| void CGAL::Bbox_3::dilate |
( |
int |
dist | ) |
|
dilates the bounding box by a specified number of ULP.
◆ dimension()
| int CGAL::Bbox_3::dimension |
( |
| ) |
const |
◆ max()
| double CGAL::Bbox_3::max |
( |
int |
i | ) |
const |
◆ min()
| double CGAL::Bbox_3::min |
( |
int |
i | ) |
const |
◆ operator!=()
| bool CGAL::Bbox_3::operator!= |
( |
const Bbox_3 & |
q | ) |
const |
◆ operator+()
returns a bounding box of b and c.
◆ operator+=()
updates b to be the bounding box of b and c and returns itself.
◆ operator==()
| bool CGAL::Bbox_3::operator== |
( |
const Bbox_3 & |
c | ) |
const |
◆ xmax()
| double CGAL::Bbox_3::xmax |
( |
| ) |
const |
◆ xmin()
| double CGAL::Bbox_3::xmin |
( |
| ) |
const |
◆ ymax()
| double CGAL::Bbox_3::ymax |
( |
| ) |
const |
◆ ymin()
| double CGAL::Bbox_3::ymin |
( |
| ) |
const |
◆ zmax()
| double CGAL::Bbox_3::zmax |
( |
| ) |
const |
◆ zmin()
| double CGAL::Bbox_3::zmin |
( |
| ) |
const |
◆ bbox_3() [1/2]
template<class InputIterator >
returns the bounding box of the objects in the range [first,past_end[.
Each object in the range must have a member function BBox_3 bbox() returning its bounding box.
◆ bbox_3() [2/2]
template<class InputIterator , class Traits >
returns the bounding box of the objects in the range [first,past_end[.
Traits must provide a functor Traits::Construct_bbox_3 having an operator returning the bounding box of each object in the range. Traits must also have a member function Traits::Construct_bbox_3 construct_bbox_3_object() const.