Subject: Re: [geometry] Bug in boost geometry 1.48: union of 2 polygons is wrong.
From: Barend Gehrels (barend_at_[hidden])
Date: 2012-01-14 05:39:13
On 14-1-2012 11:20, Barend Gehrels wrote:
> But of course I will have a look what is exactly going wrong here
> because I agree that this simple case should be handled correctly in
> *integer *coordinates.
The cause is overflow, if you use *__int64* (or another large enough
integer type) the result is correct.
Also, if you divide the coordinates by 100 (rounding of ~4 values), the
result is correct in plain *integer *coordinates.
Geometry list run by mateusz at loskot.net