|
Geometry : |
Subject: Re: [geometry] Bug again in boost::geometry::union_
From: Barend Gehrels (barend_at_[hidden])
Date: 2014-01-30 16:49:09
Hi Yohann,
yohann.benedic_at_[hidden] wrote On 30-1-2014 17:56:
>
> Hi again,
>
> Still working on some stuff with boost::geometry and stumbled upon
> another bug-like behavior.
>
> Roughly, build two polygons (one outer ring each) check that they
> intersect, try to union them and end up with nothing (well, checking
> that they intersect beforehand is not even relevant).
>
> I am using boost 1.54 and vertices xs and yx are extracted from the
> debugger. I guess using different compiler options might fix this
> issue. Unlike the bug with equals, I was not able to track the problem
> down in boost code. Again, I haven't seem anything in the 1.55
> changelog that indicates it is already fixed.
>
Your problem is fixed in the meantime in a big effort to fix robustness
issues for floating point coordinates. This is in git but not yet merged
in the development branch. It will be released in 1.56. Version 1.55
indeed still have this problem, I could reproduce it with help of your
testcode.
Thanks for your report.
Regards, Barend
Geometry list run by mateusz at loskot.net