![]() |
Filtered_kernel<CK>is a kernel that uses the filtering technique [BBP01] to achieve a kernel with exact and efficient predicates. The geometric constructions are exactly those of the kernel CK, which means that they are not necessarily exact.
#include <CGAL/Filtered_kernel.h>
The following example shows how to produce a kernel whose geometric objects and constructions are those of Simple_cartesian<double> but the predicates are exact.
#include <CGAL/Simple_cartesian.h> #include <CGAL/Filtered_kernel.h> typedef CGAL::Simple_cartesian<double> CK; typedef CGAL::Filtered_kernel<CK> K;