CGAL 6.1.1 - Intersecting Sequences of dD Iso-oriented Boxes

Loading...
Searching...
No Matches
List of all members
CGAL::Box_intersection_d::Box_traits_d< BoxHandle > Struct Template Reference
Reference Manual » Classes

`#include <CGAL/Box_intersection_d/Box_traits_d.h>`

## Definition

template<typename BoxHandle>
struct CGAL::Box_intersection_d::Box_traits_d< BoxHandle >

This is the default traits class for the intersection algorithms for iso-oriented boxes.

There are actually three versions depending on the type of `BoxHandle`; there is one if `BoxHandle` is a class type and there are two if `BoxHandle` is a pointer type, one for a mutable and one for a const pointer, respectively.

This class implements the mapping from its `BoxHandle` argument to the `Box_parameter` type required in the `BoxIntersectionTraits_d` concept. In particular in the case where `BoxHandle` is a class type `B`, it defines `Box_parameter` to be of type `const B&`, while for the other cases it just uses the pointer type.

Template Parameters

  BoxHandle | is either a class type `B`, a pointer `B*`, or a const-pointer `const B*`, where `B` is a model of the `BoxIntersectionBox_d` concept.

Is model of
  `BoxIntersectionTraits_d`

See also
  `CGAL::box_intersection_d()`
  `CGAL::box_self_intersection_d()`
  `CGAL::box_intersection_all_pairs_d()`
  `CGAL::box_self_intersection_all_pairs_d()`
  `BoxIntersectionBox_d`
  `CGAL::Box_intersection_d::Box_d<NT,int D,IdPolicy>`

## Creation
| Box_traits_d ()
| default constructor.