#include <algorithm>
#include <iterator>
-#include <boost/range.hpp>
+#include <boost/range/begin.hpp>
+#include <boost/range/end.hpp>
+#include <boost/range/size.hpp>
+#include <boost/range/value_type.hpp>
#include <boost/throw_exception.hpp>
#include <boost/geometry/core/assert.hpp>
#include <boost/geometry/algorithms/convert.hpp>
#include <boost/geometry/algorithms/not_implemented.hpp>
+#include <boost/geometry/util/condition.hpp>
namespace boost { namespace geometry
{
linear::get(oit));
}
}
- else if ( FollowIsolatedPoints
+ else if ( BOOST_GEOMETRY_CONDITION(FollowIsolatedPoints)
&& is_isolated_point(*it, *op_it, entered) )
{
detail::turns::debug_turn(*it, *op_it, "-> Isolated point");
typename pointlike::type
>(it->point, pointlike::get(oit));
}
- else if ( FollowContinueTurns
+ else if ( BOOST_GEOMETRY_CONDITION(FollowContinueTurns)
&& is_staying_inside(*it, *op_it, entered) )
{
detail::turns::debug_turn(*it, *op_it, "-> Staying inside");