ArrangementLandmarkTraits_2

Definition

The concept ArrangementLandmarkTraits_2 refines the general traits concept by adding operations needed for the landmarks point-location strategy, namely - approximating points and connecting points with a simple x-monotone curve.

A model of this concept must define the Approximate_number_type, which is used to approximate the coordinates of Point_2 instances. It is recommended to define the approximated number type as the built-in double type.

Refines

ArrangementTraits_2

Types

ArrangementLandmarkTraits_2::Approximate_number_type
the number type used to approximate point coordinates.

Functor Types

ArrangementLandmarkTraits_2::Approximate_2
models the concept ArrTraits::Approximate_2.


ArrangementLandmarkTraits_2::Construct_x_monotone_curve_2
models the concept ArrTraits::ConstructXMonotoneCurve_2.

Accessing Functor Objects

Approximate_2 traits.approximate_2_object ()
Construct_x_monotone_curve_2 traits.construct_x_monotone_curve_2_object ()

Has Models

CGAL::Arr_non_caching_segment_traits_2<Kernel>
CGAL::Arr_segment_traits_2<Kernel>
CGAL::Arr_linear_traits_2<Kernel>
CGAL::Arr_polyline_traits_2<SegmentTraits>
CGAL::Arr_conic_traits_2<RatKernel,AlgKernel,NtTraits>

See Also

ArrangementTraits_2