Boost logo

Geometry :

Subject: [ggl] Strange behaviour on a sample
From: Александр Пронченков (the.zett)
Date: 2010-04-10 01:04:09


Hi,

I have updated my copy from svn. Compilation completed in normal way. Thanks.

---
Sincerely yours,
Alexander Pronchenkov
2010/4/10 Mateusz Loskot <mateusz_at_[hidden]>:
> ????????? ?????????? <the.zett_at_[hidden]>? wrote:
>> Hi,
>>
>> I found a strange result on the following sample (complete code of the
>> sample is attached). I tried to find intersection of two polygons:
>>
>> ? {{42.0,-71.0}, {42.5,-71.0}, {42.5,-72.0}, {42.0,-72.0}}
>>
>> and
>>
>> ? {{42.35,-71.04}, {42.34,-71.04},{42.34,-71.03},{42.35,-71.03}}
>>
>> It easy to see that the first one includes the second. But result of
>> this operation is an empty set of polygons.
>>
>>
>> Environment:
>>
>> boost-geometry: br59805 | barendgehrels | 2010-02-21 14:43:54 +0500
>> (? ? ??, 21 ?????? 2010) | 2 lines
>> g++ (Ubuntu 4.4.1-4ubuntu9) 4.4.1
>> Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz
>
> I use the same compiler but on Ubuntu 9.10 x64 and I tried to compile
> your sample.cpp using default Boost.Build flags:
>
> $ g++ -ftemplate-depth-128 -O0 -fno-inline -Wall -pedantic -g -fPIC
> -pedantic -pedantic -Wall -Wstrict-aliasing -fstrict-aliasing -Wno-long-long
>
> The program itself compiles, but I found a tiny issue
> in r61168 in file geometry/multi/algorithms/dissolve.hpp.
>
> I committed fix:
> https://svn.boost.org/trac/boost/changeset/61169
>
> Could you please try to svn update and check if your sample compiles?
>
> Best regards,
> --
> Mateusz Loskot
> http://mateusz.loskot.net
>
> _______________________________________________
> ggl mailing list
> ggl_at_[hidden]
> http://lists.osgeo.org/mailman/listinfo/ggl
>

Geometry list run by mateusz at loskot.net