\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.11 - 2D Arrangements
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Arr_non_caching_segment_basic_traits_2< Kernel > Class Template Reference

#include <CGAL/Arr_non_caching_segment_basic_traits_2.h>

Inherited by CGAL::Arr_non_caching_segment_traits_2< Kernel >.

Definition

The traits class Arr_non_caching_segment_basic_traits_2 is a model of the ArrangementTraits_2 concept that allow the construction and maintenance of arrangements of sets of pairwise interior-disjoint line segments.

It is templated with a CGAL-Kernel model, and it is derived from it. This traits class is a thin layer above the parameterized kernel. It inherits the Point_2 from the kernel and its X_monotone_curve_2 type is defined as Kernel::Segment_2. Most traits-class functor are inherited from the kernel functor, and the traits class only supplies the necessary functors that are not provided by the kernel. The kernel is parameterized with a number type, which should support the arithmetic operations \( +\), \( -\) and \( \times\) in an exact manner in order to avoid robustness problems. Using Cartesian<MP_Float> or Cartesian<Gmpz> are possible instantiations for the kernel. Using other (inexact) number types (for example, instantiating the template with Simple_cartesian<double>) is also possible, at the user's own risk.

Is Model Of:
ArrangementLandmarkTraits_2
Examples:
Arrangement_on_surface_2/predefined_kernel_non_intersecting.cpp.