CGAL 5.1 - Intersecting Sequences of dD Iso-oriented Boxes
|
#include <Concepts/BoxIntersectionBox_d.h>
The BoxIntersectionBox_d
concept is used in the context of the intersection algorithms for sequences of iso-oriented boxes. These algorithms come with a default traits class that assumes that the boxes are a model of this BoxIntersectionBox_d
concept. This concept defines the access functions to the dimension, the id
-number, and the boundaries of the box.
Assignable
Types | |
typedef unspecified_type | NT |
number type to represent the box boundaries. More... | |
typedef unspecified_type | ID |
type for the box id -number, must be a model of the LessThanComparable concept. More... | |
static int | dimension () |
returns the dimension of the box. More... | |
Access Functions | |
ID | id () const |
returns the unique id -number for the box . More... | |
NT | min_coord (int d) const |
returns the lower boundary in dimension d , \( 0 \leq\)d \( < \)dimension() . More... | |
NT | max_coord (int d) const |
returns the upper boundary in dimension d , \( 0 \leq\)d \( < \)dimension() . More... | |
typedef unspecified_type BoxIntersectionBox_d::ID |
type for the box id
-number, must be a model of the LessThanComparable
concept.
typedef unspecified_type BoxIntersectionBox_d::NT |
number type to represent the box boundaries.
Allowed are the built-in types int
, unsigned int
, float
, and double
.
|
static |
returns the dimension of the box.
ID BoxIntersectionBox_d::id | ( | ) | const |
returns the unique id
-number for the box
.
NT BoxIntersectionBox_d::max_coord | ( | int | d | ) | const |
returns the upper boundary in dimension d
, \( 0 \leq\)d
\( < \)dimension()
.
NT BoxIntersectionBox_d::min_coord | ( | int | d | ) | const |
returns the lower boundary in dimension d
, \( 0 \leq\)d
\( < \)dimension()
.