\( \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.8 - 2D Arrangements

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
List of all members
CGAL::Arr_conic_traits_2< RatKernel, AlgKernel, NtTraits >::X_monotone_curve_2 Class Reference

`#include <CGAL/Arr_conic_traits_2.h>`

## Definition

The `X_monotone_curve_2` class nested within the conic-arc traits is used to represent \( x\)-monotone conic arcs.

It inherits from the `Curve_2` type, therefore supports the access methods and the operations listed above.

For efficiency reasons, we recommend users not to construct \( x\)-monotone conic arc directly, but rather use the `Make_x_monotone_2` functor supplied by the conic-arc traits class to convert conic curves to \( x\)-monotone curves.

## Creation
| X_monotone_curve_2 (const Curve_2 &arc)
| converts the given arc to an \( x\)-monotone arc. More...

## Access Functions
const Point_2 & | left () const
| returns the left (lexicographically smaller) endpoint of `xa`.
const Point_2 & | right () const
| returns the right (lexicographically larger) endpoint of `xa`.

## Constructor & Destructor Documentation

template<typename RatKernel , typename AlgKernel , typename NtTraits >

CGAL::Arr_conic_traits_2< RatKernel, AlgKernel, NtTraits >::X_monotone_curve_2::X_monotone_curve_2 | ( | const Curve_2 & | arc) |  |

converts the given arc to an \( x\)-monotone arc.

Precondition
  `arc` is \( x\)-monotone.