CGAL 6.0 - 2D Arrangements
Loading...
Searching...
No Matches
CGAL::Arr_circle_segment_traits_2< Kernel >::Point_2 Class Reference

#include <CGAL/Arr_circle_segment_traits_2.h>

Definition

template<typename Kernel>
class CGAL::Arr_circle_segment_traits_2< Kernel >::Point_2

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.