|
Geometry : |
Subject: [ggl] Difference / xor for multi polygons
From: Simonson, Lucanus J (lucanus.j.simonson)
Date: 2011-02-28 18:37:36
Barend,
I don't disagree with you. Whether your tests are OK depends on what you find when you investigate Javier's issue. My suggestion was intended to be helpful if it turns out your testing missed his issue.
I know you don't like to see the integer truncation error differences between your algorithm's results and my own. That is why I suggested using manhattan rectangles to generate randomized inputs. The outputs should correspond exactly. You can do a similar thing with 45-degree if you scale up by two. How are you validating the result of your random tests currently?
Thanks,
Luke
________________________________
From: ggl-bounces_at_[hidden] [mailto:ggl-bounces_at_[hidden]] On Behalf Of Barend Gehrels
Sent: Monday, February 28, 2011 2:47 PM
To: Generic Geometry Library Discussion
Subject: Re: [ggl] Difference / xor for multi polygons
Hi Luke,
On 28-2-2011 19:15, Simonson, Lucanus J wrote:
I would strongly suggest that the Boost.Polygon library be used as a means to facilitate testing of the Boost.Geometry boolean operations.
Thanks.
I test with SQL Server Spatial, and I have random tests already. OK for me.
Regards, Barend
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/ggl/attachments/20110228/08b05d30/attachment.html
Geometry list run by mateusz at loskot.net