\( \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.7 - 2D Arrangements
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Arr_circle_segment_traits_2< Kernel >::Point_2 Class Reference

#include <CGAL/Arr_circle_segment_traits_2.h>

Definition

The Point_2 number-type nested within the traits class represents a Cartesian point whose coordinates are algebraic numbers of type CoordNT.

Types

typedef unspecified_type Rational
 the Kernel::FT type. More...
 
typedef unspecified_type CoordNT
 the algebraic number-type. More...
 

Creation

 Point_2 ()
 default constructor. More...
 
 Point_2 (const Rational &x, const Rational &y)
 creates the point \( (x,y)\). More...
 
 Point_2 (const CoordNT &x, const CoordNT &y)
 creates the point \( (x,y)\). More...
 

Access Functions

CoordNT x () const
 returns the \( x\)-coordinate. More...
 
CoordNT y () const
 returns the \( y\)-coordinate. More...
 

Member Typedef Documentation

the algebraic number-type.

the Kernel::FT type.

Constructor & Destructor Documentation

template<typename Kernel >
CGAL::Arr_circle_segment_traits_2< Kernel >::Point_2::Point_2 ( )

default constructor.

template<typename Kernel >
CGAL::Arr_circle_segment_traits_2< Kernel >::Point_2::Point_2 ( const Rational x,
const Rational y 
)

creates the point \( (x,y)\).

template<typename Kernel >
CGAL::Arr_circle_segment_traits_2< Kernel >::Point_2::Point_2 ( const CoordNT x,
const CoordNT y 
)

creates the point \( (x,y)\).

Member Function Documentation

template<typename Kernel >
CoordNT CGAL::Arr_circle_segment_traits_2< Kernel >::Point_2::x ( ) const

returns the \( x\)-coordinate.

template<typename Kernel >
CoordNT CGAL::Arr_circle_segment_traits_2< Kernel >::Point_2::y ( ) const

returns the \( y\)-coordinate.