Bug in 4.11.1 in aggregated join in CGAL::General_polygon_set_2

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug in 4.11.1 in aggregated join in CGAL::General_polygon_set_2

Florian Prud'homme
Hello

I have 11 simple,convex,well oriented polygons that I want to join.  (I'm
using EPECK )
I join them 1 by 1, everything is fine,
but when I try to use the aggregated join, I got an error like this :

CGAL ERROR: precondition violation!
Expr: cv.is_in_x_range(p)
File: .../include/CGAL/Arr_segment_traits_2.h

I'm using CGAL 4.11.1

I have the problem only once for  10000 different set of polygon.

It impacts me very much, because the performance of aggregated functions are
much better in my case.

In order to make a minimal case, I would like to be able to serialize the
points coordinates of the polygons. But I do not know how to do this in
EPECK.

Cheers,
Florian



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss


Reply | Threaded
Open this post in threaded view
|

Re: Bug in 4.11.1 in aggregated join in CGAL::General_polygon_set_2

Sebastien Loriot (GeometryFactory)
You can switch from EPECK to CGAL::Simple_cartesian<CGAL::Gmpq>.

On 04/25/2018 01:39 PM, Florian Prud'homme wrote:

> Hello
>
> I have 11 simple,convex,well oriented polygons that I want to join.  (I'm
> using EPECK )
> I join them 1 by 1, everything is fine,
> but when I try to use the aggregated join, I got an error like this :
>
> CGAL ERROR: precondition violation!
> Expr: cv.is_in_x_range(p)
> File: .../include/CGAL/Arr_segment_traits_2.h
>
> I'm using CGAL 4.11.1
>
> I have the problem only once for  10000 different set of polygon.
>
> It impacts me very much, because the performance of aggregated functions are
> much better in my case.
>
> In order to make a minimal case, I would like to be able to serialize the
> points coordinates of the polygons. But I do not know how to do this in
> EPECK.
>
> Cheers,
> Florian
>
>
>
> --
> Sent from: http://cgal-discuss.949826.n4.nabble.com/
>

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss