Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Problem when changing from inexact to exact kernel

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Problem when changing from inexact to exact kernel


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Problem when changing from inexact to exact kernel
  • Date: Wed, 15 Feb 2017 15:28:02 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:g+6vRhAw8I6FE5cOxZV4UyQJP3N1i/DPJgcQr6AfoPdwSP3yrsbcNUDSrc9gkEXOFd2CrakV1qyO6eu+BCRAuc/H6y9SNsQUFlcssoY/oU8JOIa9E0r1LfrnPWQRPf9pcxtbxUy9KlVfA83kZlff8TWY5D8WHQjjZ0IufrymUt2as8Pi3O+7/9jfYh5DmSGmSbJ0NhS/6wvL5ecMho43YJ08wBLSvnpFfaxywnlpIk7b3znx4cK94IRy3S1bp/U75o8KGfHhe6MiTLtESjEiG28w7czv8xLESF3ctTMnTmwKn08QUED+5xbgU8Kpvw==
  • Organization: GeometryFactory

On 02/15/2017 03:15 PM, Thomas Holzmann wrote:
Hi,

I have a CGAL::Triangulation_3, which I manually created (just converted
a given triangulation to a CGAL data structure) and which is valid (
checked with triangulation.is_valid()). I'm currently using
Exact_predicates_inexact_constructions_kernel, but I'm having problems
when making various geometric operation afterwards. Therefore, I want to
change to Exact_predicates_exact_constructions_kernel.

However, after changing the kernel, the conversion back to a double
representation doesn't work anymore, ie.

double x = CGAL::to_double(vertex->point().x());
...

results in a segmentation fault sometimes. It doesn't happen for all
vertices, just for some.

The same part of the code with inexact constructions kernel works
without problems.

Does someone have an idea what the problem could be?

Thomas


Check that the vertex is not the infinite vertex.





Archive powered by MHonArc 2.6.18.

Top of Page