Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (CGAL/GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Problem when changing from inexact to exact kernel
- Date: Wed, 15 Feb 2017 19:56:11 +0100
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:AFMYfRSyj42zRz2xsKc6hRsg5Npsv+yvbD5Q0YIujvd0So/mwa64ZBKN2/xhgRfzUJnB7Loc0qyN4v2mATZLuM/c+DBaKdoXCE9D0Z1X1yUbQ+e7SmTDZMbwaCI7GMkQHHRExFqcdXZvJcDlelfJqWez5zNBUj/2NA5yO/inUtWK15f/hKiO/MjYbAxMwTa8erhvNw6erAPLt8BQj5ExBLw2z06DhnJVYelQ2StSJFSelgu0puyf1bok3ClXvv897d9uWK7meL4pDPYQWDAvLno44tGtrxjFQAKSznATW2FQlQBHVVuWpCrmV4v853Op/tF23zOXaJX7
- Organization: GeometryFactory
Le Wednesday, February 15, 2017 3:15:01 PM CET Thomas Holzmann a écrit :
> 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.
Could it be that you use parallel threads working both on such CGAL exact
points? The kernel `Exact_predicates_exact_constructions_kernel` is not
thread-safe as far as I know.
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
- [cgal-discuss] Problem when changing from inexact to exact kernel, Thomas Holzmann, 02/15/2017
- Re: [cgal-discuss] Problem when changing from inexact to exact kernel, Sebastien Loriot (GeometryFactory), 02/15/2017
- Re: [cgal-discuss] Problem when changing from inexact to exact kernel, Thomas Holzmann, 02/15/2017
- Re: [cgal-discuss] Problem when changing from inexact to exact kernel, Laurent Rineau (CGAL/GeometryFactory), 02/15/2017
- Re: [cgal-discuss] Problem when changing from inexact to exact kernel, Thomas Holzmann, 02/16/2017
- Re: [cgal-discuss] Problem when changing from inexact to exact kernel, Sebastien Loriot (GeometryFactory), 02/15/2017
Archive powered by MHonArc 2.6.18.