CGAL 5.5.5 - 2D Arrangements
CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel > Class Template Reference

#include <CGAL/Arr_spherical_topology_traits_2.h>

Definition

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

This class handles the topology for arrangements of great spherical arcs on the sphere embedded on 2D parametric surdace.

The Arr_spherical_topology_traits_2 template has two parameters:

Is Model Of:
ArrangementBasicTopologyTraits
See also
Arr_default_dcel<Traits>
CGAL::Arr_geodesic_arc_on_sphere_traits_2<Kernel,x,y>
Examples:
Arrangement_on_surface_2/spherical_insert.cpp.

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_spherical_topology_traits_2 ()
 Default constructor. More...
 
 Arr_spherical_topology_traits_2 (const GeometryTraits_2 *traits)
 Constructor from a geometry-traits object. More...
 

Accessors

const Dcel & dcel () const
 Obtain the DCEL (const version). More...
 
Dcel & dcel ()
 Obtain the DCEL (non-const version). More...
 
const Facespherical_face () const
 Obtain the spherical face (const version). More...
 
Facespherical_face ()
 Obtain the spherical face (non-const version). More...
 
const Vertexsouth_pole () const
 Obtain the south pole (const version). More...
 
Vertexsouth_pole ()
 Obtain the south pole (non-const version). More...
 
const Vertexnorth_pole () const
 Obtain the north pole (const version). More...
 
Vertexnorth_pole ()
 Obtain the north pole (non-const version). More...
 
const Vertexdiscontinuity_vertex (const Point_2 &pt) const
 Obtain a vertex on the line of discontinuity that corresponds to the given point (or return NULL if no such vertex exists).
 
Vertexdiscontinuity_vertex (const Point_2 &pt)
 Obtain a vertex on the line of discontinuity that corresponds to the given point (or return NULL if no such vertex exists).
 

Constructor & Destructor Documentation

◆ Arr_spherical_topology_traits_2() [1/2]

template<typename GeometryTraits_2 , typename Dcel = Arr_default_dcel<GeometryTraits_2>>
CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::Arr_spherical_topology_traits_2 ( )

Default constructor.

◆ Arr_spherical_topology_traits_2() [2/2]

template<typename GeometryTraits_2 , typename Dcel = Arr_default_dcel<GeometryTraits_2>>
CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::Arr_spherical_topology_traits_2 ( const GeometryTraits_2 *  traits)

Constructor from a geometry-traits object.

Parameters
traitsthe traits.

Member Function Documentation

◆ dcel() [1/2]

template<typename GeometryTraits_2 , typename Dcel = Arr_default_dcel<GeometryTraits_2>>
const Dcel& CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::dcel ( ) const

Obtain the DCEL (const version).

◆ dcel() [2/2]

template<typename GeometryTraits_2 , typename Dcel = Arr_default_dcel<GeometryTraits_2>>
Dcel& CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::dcel ( )

Obtain the DCEL (non-const version).

◆ north_pole() [1/2]

template<typename GeometryTraits_2 , typename Dcel = Arr_default_dcel<GeometryTraits_2>>
const Vertex* CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::north_pole ( ) const

Obtain the north pole (const version).

◆ north_pole() [2/2]

template<typename GeometryTraits_2 , typename Dcel = Arr_default_dcel<GeometryTraits_2>>
Vertex* CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::north_pole ( )

Obtain the north pole (non-const version).

◆ south_pole() [1/2]

template<typename GeometryTraits_2 , typename Dcel = Arr_default_dcel<GeometryTraits_2>>
const Vertex* CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::south_pole ( ) const

Obtain the south pole (const version).

◆ south_pole() [2/2]

template<typename GeometryTraits_2 , typename Dcel = Arr_default_dcel<GeometryTraits_2>>
Vertex* CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::south_pole ( )

Obtain the south pole (non-const version).

◆ spherical_face() [1/2]

template<typename GeometryTraits_2 , typename Dcel = Arr_default_dcel<GeometryTraits_2>>
const Face* CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::spherical_face ( ) const

Obtain the spherical face (const version).

◆ spherical_face() [2/2]

template<typename GeometryTraits_2 , typename Dcel = Arr_default_dcel<GeometryTraits_2>>
Face* CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::spherical_face ( )

Obtain the spherical face (non-const version).