Boost logo

Geometry :

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


Hi,

I don't know what was changed. But the problem has gone. I'm sorry for
the inconvenience.

---
Best regards,
Alexander Pronchenkov
9 ?????? 2010 ?. 22:56 ???????????? ????????? ??????????
<the.zett_at_[hidden]> ???????:
> 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
>
> ---
> Best regards
>

Geometry list run by mateusz at loskot.net