Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] compiling error of "linear_least_squares_fitting_3" under :Exact_predicates_exact_constructions_kernel

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] compiling error of "linear_least_squares_fitting_3" under :Exact_predicates_exact_constructions_kernel


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] compiling error of "linear_least_squares_fitting_3" under :Exact_predicates_exact_constructions_kernel
  • Date: Fri, 7 Oct 2011 10:22:38 +0200
  • Organization: GeometryFactory

On vendredi 07 octobre 2011 03:31:14 Kai WANG wrote:
> Hi Sebastien,
> The reason is illustrated in another post:
>
> http://cgal-discuss.949826.n4.nabble.com/Issue-on-CGAL-Polygon-2-Intersecti
> on-td3877407.html
>
> Since I find my program crash when calculating the 2D polygon intersection
> with CGAL::Cartesian<double> as the kernel number type, especially when
> there are more digits after the decimal point.

CGAL::Exact_predicates_inexact_constructions_kernel is a synonym of
CGAL::Filtered_kernel< Simple_cartesian<double> >

That kernel, whose FT is also "double", is very different from
CGAL::Cartesian<double> or CGAL::Simple_cartesian<double>, because it ensures
that predicates will be evaluated exactly (using filtering technics to avoid
extra cost).

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/



Archive powered by MHonArc 2.6.16.

Top of Page