#include <CGAL/Circular_kernel_2.h>
The first parameter of the circular kernel must be instantiated with a model of the Kernel concept. The Circular_kernel_2 class template derives from this first parameter, in order to reuse all needed functionalities on basic objects provided by a model of the Kernel concept.
The second parameter, AlgebraicKernelForCircles, is meant to provide the circular kernel with all the algebraic functionalities required for the manipulation of algebraic curves.
The circular kernel uses basic number types of the algebraic kernel:
typedef AlgebraicKernelForCircles::RT | ||
RT; | Ring number type. | |
typedef AlgebraicKernelForCircles::FT | ||
FT; | Field number type. |
The following types are available, as well as all the functionality on them described in the CircularKernel concept.
typedef Line_arc_2<Circular_kernel_2> | ||
Line_arc_2; | ||
typedef Circular_arc_2<Circular_kernel_2> | ||
Circular_arc_2; | ||
typedef Circular_arc_point_2<Circular_kernel_2> | ||
Circular_arc_point_2; |
Kernel
AlgebraicKernelForCircles
CGAL::Exact_circular_kernel_2