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

## CGAL::Box_intersection_d::Box_traits_d<BoxHandle>

### Definition

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.

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

#include <CGAL/Box_intersection_d/Box_traits_d.h>

and also automatically with
#include <CGAL/box_intersection_d.h>

### Is Model for the Concept

BoxIntersectionTraits_d

### Creation

Box_intersection_d::Box_traits_d<BoxHandle> traits;
| default constructor.

### See Also

CGAL::box_intersection_d
CGAL::box_self_intersection_d
CGAL::box_intersection_all_pairs_d

BoxIntersectionBox_d
CGAL::Box_intersection_d::Box_d<NT,int D,IdPolicy>

Next: Box_intersection_d::Box_with_handle_d<NT, int D, Handle, IdPolicy>

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

The CGAL Project . Tue, December 21, 2004 .