Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73547 - trunk/libs/geometry/test/algorithms/overlay
From: barend.gehrels_at_[hidden]
Date: 2011-08-05 09:50:45


Author: barendgehrels
Date: 2011-08-05 09:50:44 EDT (Fri, 05 Aug 2011)
New Revision: 73547
URL: http://svn.boost.org/trac/boost/changeset/73547

Log:
Fixed traversal tests from last update
Text files modified:
   trunk/libs/geometry/test/algorithms/overlay/ccw_traverse.cpp | 6 +++++-
   trunk/libs/geometry/test/algorithms/overlay/traverse.cpp | 6 +++++-
   2 files changed, 10 insertions(+), 2 deletions(-)

Modified: trunk/libs/geometry/test/algorithms/overlay/ccw_traverse.cpp
==============================================================================
--- trunk/libs/geometry/test/algorithms/overlay/ccw_traverse.cpp (original)
+++ trunk/libs/geometry/test/algorithms/overlay/ccw_traverse.cpp 2011-08-05 09:50:44 EDT (Fri, 05 Aug 2011)
@@ -62,7 +62,11 @@
     typedef std::deque<ring_type> out_vector;
     out_vector v;
 
- bg::traverse<rev<Geometry1>::value, rev<Geometry2>::value>(g1, g2, op, turns, v);
+ bg::detail::overlay::traverse
+ <
+ rev<Geometry1>::value, rev<Geometry2>::value,
+ Geometry1, Geometry2
+ >::apply(g1, g2, op, turns, v);
 
     typename bg::coordinate_type<Geometry1>::type result = 0.0;
     BOOST_FOREACH(ring_type& ring, v)

Modified: trunk/libs/geometry/test/algorithms/overlay/traverse.cpp
==============================================================================
--- trunk/libs/geometry/test/algorithms/overlay/traverse.cpp (original)
+++ trunk/libs/geometry/test/algorithms/overlay/traverse.cpp 2011-08-05 09:50:44 EDT (Fri, 05 Aug 2011)
@@ -158,7 +158,11 @@
         out_vector v;
 
 
- bg::traverse<Reverse1, Reverse2>(g1, g2, Direction, turns, v);
+ bg::detail::overlay::traverse
+ <
+ Reverse1, Reverse2,
+ G1, G2
+ >::apply(g1, g2, Direction, turns, v);
 
         // Check number of resulting rings
         BOOST_CHECK_MESSAGE(expected_count == boost::size(v),


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