CGAL 5.3 - 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.