CGAL 6.2 - 2D Arrangements

Loading...
Searching...
No Matches
List of all members
AosDcelWithRebind Concept Reference
Reference Manual » Concepts » DCEL Concepts

## Definition

The concept `AosDcelWithRebind` refines the `AosDcel` concept by adding a policy clone idiom in form of a rebind struct-template.

Instantiate a DCEL class with many different possible types without ad-hoc limitations on type of the DCEL classes.

Refines
  `AosDcel`

Has models
  `CGAL::Arr_default_dcel<Traits>`
  `CGAL::Arr_dcel<Traits,V,H,F>`
  `CGAL::Arr_face_extended_dcel<Traits,FData,V,H,F>`
  `CGAL::Arr_extended_dcel<Traits,VData,HData,FData,V,H,F>`

## Types
template<class T >
typedef unspecified_type | rebind
| allows the instantiation of a model of the base concept `AosDcel` with a different possible geometry-traits class without ad-hoc limitations on it.

## Creation
| Arr_dcel ()
| constructs an empty DCEL with one unbounded face.

## Member Typedef Documentation

## ◆ rebind

template<class T >

typedef unspecified_type AosDcelWithRebind::rebind

allows the instantiation of a model of the base concept `AosDcel` with a different possible geometry-traits class without ad-hoc limitations on it.

Following the standard clone policy, the rebind struct-template must have a nested type named `other` that defines the type of the model replica.