CGAL 4.7 - Kinetic Data Structures: CGAL::Kinetic::Enclosing_box_3< Traits > Class Template Reference

\( \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.7 - Kinetic Data Structures

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
List of all members
CGAL::Kinetic::Enclosing_box_3< Traits > Class Template Reference
Support Classes

`#include <CGAL/Kinetic/Enclosing_box_3.h>`

## Definition

The class `Kinetic::Enclosing_box_3` keeps the points in the simulation inside of a box.

Whenever the points come close to the wall of the box they bounce off of the wall.

Note that, in general, points hit the wall of the box at times which are not easily represented by standard (rational) number types. The resulting trajectories would also have non-rational coefficients, complicating and slowing the simulation. In order to handle this, the `Kinetic::Enclosing_box_3` bounces the points at the nearest easily representable time before the point would leave the box.

## Types

typedef unspecified_type | NT
| The number type used to represent the walls of the box and perform calculations. More...

## Creation

| Enclosing_box_3 (Traits, NT xmin, NT xmax, NT ymin, NT ymax, NT zmin, NT zmax)
| This constructs a bounding box with the dimensions specified by the last 6 arguments. More...

## Member Typedef Documentation

template<typename Traits >

typedef unspecified_type CGAL::Kinetic::Enclosing_box_3< Traits >::NT

The number type used to represent the walls of the box and perform calculations.

Generally this is `Traits::NT`.

## Constructor & Destructor Documentation

template<typename Traits >

CGAL::Kinetic::Enclosing_box_3< Traits >::Enclosing_box_3 | ( | Traits | ,
|  | NT | xmin,
|  | NT | xmax,
|  | NT | ymin,
|  | NT | ymax,
|  | NT | zmin,
|  | NT | zmax
| ) |  |

This constructs a bounding box with the dimensions specified by the last 6 arguments.

They are optional and will take the values if omitted.