CGAL 5.6 - 2D Arrangements
|
#include <CGAL/Arr_spherical_topology_traits_2.h>
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:
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. 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>
. Arr_default_dcel<Traits>
CGAL::Arr_geodesic_arc_on_sphere_traits_2<Kernel,x,y>
Creation | |
Arr_spherical_topology_traits_2 () | |
Default constructor. | |
Arr_spherical_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 * | spherical_face () const |
Obtain the spherical face (const version). | |
Face * | spherical_face () |
Obtain the spherical face (non-const version). | |
const Vertex * | south_pole () const |
Obtain the south pole (const version). | |
Vertex * | south_pole () |
Obtain the south pole (non-const version). | |
const Vertex * | north_pole () const |
Obtain the north pole (const version). | |
Vertex * | north_pole () |
Obtain the north pole (non-const version). | |
const Vertex * | discontinuity_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). | |
Vertex * | discontinuity_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). | |
CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::Arr_spherical_topology_traits_2 | ( | const GeometryTraits_2 * | traits | ) |
Constructor from a geometry-traits object.
traits | the traits. |