CGAL 6.1 - 2D Arrangements
Loading...
Searching...
No Matches
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/count_and_trace.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 ()
 constructs default
 
 Arr_spherical_topology_traits_2 (const GeometryTraits_2 *traits)
 constructs from a geometry-traits object.
 

Accessors

const Dcel & dcel () const
 obtains the DCEL (const version).
 
Dcel & dcel ()
 obtains the DCEL (non-const version).
 
const Facespherical_face () const
 obtains the spherical face (const version).
 
Facespherical_face ()
 obtains the spherical face (non-const version).
 
const Vertexsouth_pole () const
 obtains the south pole (const version).
 
Vertexsouth_pole ()
 obtains the south pole (non-const version).
 
const Vertexnorth_pole () const
 obtains the north pole (const version).
 
Vertexnorth_pole ()
 obtains the north pole (non-const version).
 
const Vertexdiscontinuity_vertex (const Point_2 &pt) const
 obtains 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)
 obtains 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()

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)

constructs from a geometry-traits object.

Parameters
traitsthe traits.