|
Geometry : |
Subject: Re: [geometry] problems with dissolve()
From: Victor Botnev (botnev.victor_at_[hidden])
Date: 2013-12-10 05:01:11
Hi
I am sorry, but I was not exact in my previous message.
And, perhaps I should go into some details.
I do not know precisely how to use the combination of Boost Geometry truck
and the rest Boost.
I thought it would be logical to get the latest version of Boost for this
purpose.
So my steps were:
1. I got Fridayâs trunk of Boost Geometry with its extensions.
2. I downloaded Boost 1.55 and removed all the contents of folder âgeometryâ
in it.
3. I inserted Fridayâs trunk of Boost Geometry in this folder.
I got an example of the self-intersecting contour from this post:
http://barendgehrels.blogspot.ru/2011/02/dissolving-pentagram.html
(just after the subtitle â*But now the sample*â).
Then I changed a coordinate of a point in the contour (it is marked by bold
font below) and presented it as a multipolygon consisted of one polygon:
MULTIPOLYGON((55 10, 141 237, 249 23, 21 171, 252 169, *140*, 89, 266 73, 55
10)).
As the result, the test program created by VS2008 and which does nothing but
dissolves mentioned above multipolygon crashes.
But if this contour is presented as a polygon in terms of Boost Geometry,
then the program does not crash but the result is not correct anyway (I can
see it from svg-file which is created from the resultant multipolygon in
this case).
Best regards,
Victor Botnev
-- View this message in context: http://boost-geometry.203548.n3.nabble.com/problems-with-dissolve-tp4025801p4025806.html Sent from the Boost Geometry mailing list archive at Nabble.com.
Geometry list run by mateusz at loskot.net