CGAL 4.7 - 2D Arrangements
|
#include <CGAL/Arr_circle_segment_traits_2.h>
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... | |
typedef unspecified_type CGAL::Arr_circle_segment_traits_2< Kernel >::Point_2::CoordNT |
the algebraic number-type.
typedef unspecified_type CGAL::Arr_circle_segment_traits_2< Kernel >::Point_2::Rational |
the Kernel::FT
type.
CGAL::Arr_circle_segment_traits_2< Kernel >::Point_2::Point_2 | ( | ) |
default constructor.
CGAL::Arr_circle_segment_traits_2< Kernel >::Point_2::Point_2 | ( | const Rational & | x, |
const Rational & | y | ||
) |
creates the point \( (x,y)\).
CGAL::Arr_circle_segment_traits_2< Kernel >::Point_2::Point_2 | ( | const CoordNT & | x, |
const CoordNT & | y | ||
) |
creates the point \( (x,y)\).
CoordNT CGAL::Arr_circle_segment_traits_2< Kernel >::Point_2::x | ( | ) | const |
returns the \( x\)-coordinate.
CoordNT CGAL::Arr_circle_segment_traits_2< Kernel >::Point_2::y | ( | ) | const |
returns the \( y\)-coordinate.