CGAL 5.6.3 - 2D Arrangements

Loading...
Searching...
No Matches
List of all members
CGAL::Arr_unb_planar_topology_traits_2< GeometryTraits_2, Dcel > Class Template Reference
2D Arrangement Reference

`#include <CGAL/Arr_unb_planar_topology_traits_2.h>`

## Definition

template<typename GeometryTraits_2, typename Dcel = Arr_default_dcel<GeometryTraits_2>>
class CGAL::Arr_unb_planar_topology_traits_2< GeometryTraits_2, Dcel >

This class handles the topology for arrangements of unb curves embedded in the plane.

The `Arr_unb_planar_topology_traits_2` template has two parameters:

- The `GeometryTraits_2` template-parameter should be instantiated with a model of the `ArrangementBasicTraits_2` concept. The traits class defines the types of \(x\)-monotone curves and two-dimensional points, namely `ArrangementBasicTraits_2::X_monotone_curve_2` and `ArrangementBasicTraits_2::Point_2`, respectively, and supports basic geometric predicates on them.
- The `Dcel` template-parameter should be instantiated with a class that is a model of the `ArrangementDcel` concept. The value of this parameter is by default `Arr_default_dcel<Traits>`.

Is Model Of:
  `ArrangementBasicTopologyTraits`

See also
  `Arr_default_dcel<Traits>`
  `CGAL::Arr_geodesic_arc_on_sphere_traits_2<Kernel,x,y>`

## Types
typedef GeometryTraits_2::Point_2 | Point_2
typedef GeometryTraits_2::X_monotone_curve_2 | X_monotone_curve_2
typedef Dcel::Size | Size
typedef Dcel::Vertex | Vertex
typedef Dcel::Halfedge | Halfedge
typedef Dcel::Face | Face
typedef Dcel::Outer_ccb | Outer_ccb
typedef Dcel::Inner_ccb | Inner_ccb
typedef Dcel::Isolated_vertex | Isolated_vertex

## Creation
| Arr_unb_planar_topology_traits_2 ()
| Default constructor.
| Arr_unb_planar_topology_traits_2 (const GeometryTraits_2 *traits)
| Constructor from a geometry-traits object.

## Accessors
const Dcel & | dcel () const
| Obtain the DCEL (const version).
Dcel & | dcel ()
| Obtain the DCEL (non-const version).
const Face * | unbounded_face () const
| Obtain the unbounded face (const version).
Face * | unbounded_face ()
| Obtain the unbounded face (non-const version).

## Constructor & Destructor Documentation

## ◆ Arr_unb_planar_topology_traits_2()

template<typename GeometryTraits_2 , typename Dcel = Arr_default_dcel<GeometryTraits_2>>

CGAL::Arr_unb_planar_topology_traits_2< GeometryTraits_2, Dcel >::Arr_unb_planar_topology_traits_2 | ( | const GeometryTraits_2 * | traits | ) |

Constructor from a geometry-traits object.

Parameters

  traits | the traits.