Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85491 - in trunk/libs/geometry: doc test/algorithms test/algorithms/overlay
From: barend.gehrels_at_[hidden]
Date: 2013-08-27 16:33:32


Author: barendgehrels
Date: 2013-08-27 16:33:32 EDT (Tue, 27 Aug 2013)
New Revision: 85491
URL: http://svn.boost.org/trac/boost/changeset/85491

Log:
[geometry] added testcase for ticket 6958 which is also fixed by commit 85451 avoiding spikes

Text files modified:
   trunk/libs/geometry/doc/release_notes.qbk | 5 +++--
   trunk/libs/geometry/test/algorithms/intersection.cpp | 3 +++
   trunk/libs/geometry/test/algorithms/overlay/overlay_cases.hpp | 6 ++++++
   3 files changed, 12 insertions(+), 2 deletions(-)

Modified: trunk/libs/geometry/doc/release_notes.qbk
==============================================================================
--- trunk/libs/geometry/doc/release_notes.qbk Tue Aug 27 14:49:16 2013 (r85490)
+++ trunk/libs/geometry/doc/release_notes.qbk 2013-08-27 16:33:32 EDT (Tue, 27 Aug 2013) (r85491)
@@ -27,10 +27,11 @@
 
 [*Solved tickets]
 
-* [@https://svn.boost.org/trac/boost/ticket/8969 8969] boost::geometry::model::point single argument constructor should be explicit
-* [@https://svn.boost.org/trac/boost/ticket/8825 8825] Patch adding member variable documentation to doxygen_xml2qbk
+* [@https://svn.boost.org/trac/boost/ticket/6958 6958] Intersection generates self-intersection. Caused by spikes, fixed
 * [@https://svn.boost.org/trac/boost/ticket/8364 8364] Invalid input exception, caused by spikes in previous steps, fixed
 * [@https://svn.boost.org/trac/boost/ticket/8365 8365] Invalid input exception, caused by spikes in previous steps, fixed
+* [@https://svn.boost.org/trac/boost/ticket/8969 8969] boost::geometry::model::point single argument constructor should be explicit
+* [@https://svn.boost.org/trac/boost/ticket/8825 8825] Patch adding member variable documentation to doxygen_xml2qbk
 
 [*Internal changes]
 

Modified: trunk/libs/geometry/test/algorithms/intersection.cpp
==============================================================================
--- trunk/libs/geometry/test/algorithms/intersection.cpp Tue Aug 27 14:49:16 2013 (r85490)
+++ trunk/libs/geometry/test/algorithms/intersection.cpp 2013-08-27 16:33:32 EDT (Tue, 27 Aug 2013) (r85491)
@@ -217,6 +217,9 @@
     test_one<Polygon, Polygon, Polygon>("ticket_8254", ticket_8254[0], ticket_8254[1],
                 1, 4, 3.63593e-08, 0.01);
 
+ test_one<Polygon, Polygon, Polygon>("ticket_6958", ticket_6958[0], ticket_6958[1],
+ 1, 4, 4.34355e-05, 0.01);
+
     test_one<Polygon, Polygon, Polygon>("buffer_mp1", buffer_mp1[0], buffer_mp1[1],
                 1, 31, 2.271707796);
 

Modified: trunk/libs/geometry/test/algorithms/overlay/overlay_cases.hpp
==============================================================================
--- trunk/libs/geometry/test/algorithms/overlay/overlay_cases.hpp Tue Aug 27 14:49:16 2013 (r85490)
+++ trunk/libs/geometry/test/algorithms/overlay/overlay_cases.hpp 2013-08-27 16:33:32 EDT (Tue, 27 Aug 2013) (r85491)
@@ -560,6 +560,12 @@
     "POLYGON((-95269304 222758,-95260668 419862,-95234760 615696,-95192088 808228,-95132906 996442,-95057214 1178814,-94966028 1354074,-94860110 1520444,-94739968 1676908,-94606618 1822450,-94999048 2214880,-95165164 2033778,-95314770 1838706,-95446850 1631442,-95560388 1413510,-95654368 1186434,-95728282 951992,-95781368 711962,-95813626 468376,-95824294 222758,-95269304 222758))"
     };
 
+static std::string ticket_6958[2] =
+ {
+ "POLYGON((0.63872330997599124913 0.25963790394761232516 , 0.51901482278481125832 0.36860892060212790966 , 0.24443514109589159489 0.62663296470418572426 , 0.41175117865081167778 0.47178476291601745274 , 0.63872330997599124913 0.25963790394761232516))",
+ "POLYGON((0.52364358028948876367 0.36823021165656988352 , 0.7762673462275415659 0.13443113025277850237 , 0.59446187055393329146 0.29992923303868185281 , 0.52364358028948876367 0.36823021165656988352))"
+ };
+
 static std::string ticket_7462[2] =
     {
     "POLYGON((0 0 , -0.3681253195 0.9297761917 , 2.421203136 2.034152031 , 2.789328575 1.104375958 , 0 0))",


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk