CGAL 6.1 - 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 substituted by a model of the AosBasicTraits_2
concept. The traits class defines the types of \(x\)-monotone curves and two-dimensional points, namely AosBasicTraits_2::X_monotone_curve_2
and AosBasicTraits_2::Point_2
, respectively, and supports basic geometric predicates on them. Dcel
template-parameter should be substituted by a class that is a model of the AosDcel
concept. The value of this parameter is by default Arr_default_dcel<Traits>
. AosBasicTopologyTraits
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_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 Face * | spherical_face () const |
obtains the spherical face (const version). | |
Face * | spherical_face () |
obtains the spherical face (non-const version). | |
const Vertex * | south_pole () const |
obtains the south pole (const version). | |
Vertex * | south_pole () |
obtains the south pole (non-const version). | |
const Vertex * | north_pole () const |
obtains the north pole (const version). | |
Vertex * | north_pole () |
obtains the north pole (non-const version). | |
const Vertex * | discontinuity_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). | |
Vertex * | discontinuity_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). | |
typedef Dcel::Face CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::Face |
typedef Dcel::Halfedge CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::Halfedge |
typedef Dcel::Inner_ccb CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::Inner_ccb |
typedef Dcel::Isolated_vertex CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::Isolated_vertex |
typedef Dcel::Outer_ccb CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::Outer_ccb |
typedef GeometryTraits_2::Point_2 CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::Point_2 |
typedef Dcel::Size CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::Size |
typedef Dcel::Vertex CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::Vertex |
typedef GeometryTraits_2::X_monotone_curve_2 CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::X_monotone_curve_2 |
CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::Arr_spherical_topology_traits_2 | ( | ) |
constructs default
CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::Arr_spherical_topology_traits_2 | ( | const GeometryTraits_2 * | traits | ) |
constructs from a geometry-traits object.
traits | the traits. |
Dcel & CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::dcel | ( | ) |
obtains the DCEL (non-const version).
const Dcel & CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::dcel | ( | ) | const |
obtains the DCEL (const version).
Vertex * CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::discontinuity_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).
const Vertex * CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::discontinuity_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).
Vertex * CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::north_pole | ( | ) |
obtains the north pole (non-const version).
const Vertex * CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::north_pole | ( | ) | const |
obtains the north pole (const version).
Vertex * CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::south_pole | ( | ) |
obtains the south pole (non-const version).
const Vertex * CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::south_pole | ( | ) | const |
obtains the south pole (const version).
Face * CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::spherical_face | ( | ) |
obtains the spherical face (non-const version).
const Face * CGAL::Arr_spherical_topology_traits_2< GeometryTraits_2, Dcel >::spherical_face | ( | ) | const |
obtains the spherical face (const version).