\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)

CGAL 4.3 - 2D and 3D Linear Geometry Kernel

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::do_overlap()
Global Kernel Functions

##

bool | do_overlap (const Bbox_2 &bb1, const Bbox_2 &bb2)
| returns `true` iff `bb1` and `bb2` overlap, i.e., iff their intersection is non-empty.
template<class InputIterator >
Bbox_2 | bbox_2 (InputIterator begin, InputIterator past_end)
| returns the bounding box of the objects in the range `[first,past_end[`. More...
template<class InputIterator , class Traits >
Bbox_2 | bbox_2 (InputIterator begin, InputIterator past_end, const Traits &traits)
| returns the bounding box of the objects in the range `[first,past_end[`. More...
bool | do_overlap (const Bbox_3 &bb1, const Bbox_3 &bb2)
| returns `true` iff `bb1` and `bb2` overlap, i.e., iff their intersection is non-empty.
template<class InputIterator >
Bbox_3 | bbox_3 (InputIterator begin, InputIterator past_end)
| returns the bounding box of the objects in the range `[first,past_end[`. More...
template<class InputIterator , class Traits >
Bbox_3 | bbox_3 (InputIterator begin, InputIterator past_end, const Traits &traits)
| returns the bounding box of the objects in the range `[first,past_end[`. More...

## Function Documentation

template<class InputIterator >

Bbox_2 bbox_2 | ( | InputIterator | begin,
|  | InputIterator | past_end
| ) |  |
| related

returns the bounding box of the objects in the range `[first,past_end[`.

Each object in the range must have a member function `BBox_2 bbox()` returning its bounding box.

template<class InputIterator , class Traits >

Bbox_2 bbox_2 | ( | InputIterator | begin,
|  | InputIterator | past_end,
|  | const Traits & | traits
| ) |  |
| related

returns the bounding box of the objects in the range `[first,past_end[`.

`Traits` must provide a functor `Traits::Construct_bbox_2` having an operator returning the bounding box of each object in the range. `Traits` must also have a member function `Traits::Construct_bbox_2 construct_bbox_2_object() const`.

template<class InputIterator >

Bbox_3 bbox_3 | ( | InputIterator | begin,
|  | InputIterator | past_end
| ) |  |
| related

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.

template<class InputIterator , class Traits >

Bbox_3 bbox_3 | ( | InputIterator | begin,
|  | InputIterator | past_end,
|  | const Traits & | traits
| ) |  |
| related

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`.