Fixed traversal tests from last update

[SVN r73547]
This commit is contained in:
Barend Gehrels 2011-08-05 13:50:44 +00:00
parent 6fda236075
commit be677ef5d1
2 changed files with 10 additions and 2 deletions

View File

@ -62,7 +62,11 @@ inline typename bg::coordinate_type<Geometry1>::type intersect(Geometry1 const&
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)

View File

@ -158,7 +158,11 @@ struct test_traverse
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),