|
Geometry : |
Subject: [ggl] Strange behaviour on a sample
From: ÐлекÑÐ°Ð½Ð´Ñ ÐÑонÑенков (the.zett)
Date: 2010-04-09 12:56:10
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: sample.cpp Type: text/x-c++src Size: 1162 bytes Desc: not available Url : http://lists.osgeo.org/pipermail/ggl/attachments/20100409/7bea130d/sample.bin
Geometry list run by mateusz at loskot.net