\( \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 5.0.2 - 2D Arrangements
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.
 
typedef unspecified_type CoordNT
 the algebraic number-type.
 

Creation

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

Access Functions

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