From 3b91c7ed346c5b5350e24ccd34e38f11f2d1e339 Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Sun, 23 Mar 2014 17:54:52 +0100 Subject: [PATCH] [relate] fix compile errors (use of old names) --- .../geometry/algorithms/detail/relate/boundary_checker.hpp | 5 +++-- include/boost/geometry/algorithms/detail/relate/turns.hpp | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/boost/geometry/algorithms/detail/relate/boundary_checker.hpp b/include/boost/geometry/algorithms/detail/relate/boundary_checker.hpp index 330cf38be..d7506a40e 100644 --- a/include/boost/geometry/algorithms/detail/relate/boundary_checker.hpp +++ b/include/boost/geometry/algorithms/detail/relate/boundary_checker.hpp @@ -12,6 +12,7 @@ #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_RELATE_BOUNDARY_CHECKER_HPP #include +#include #include @@ -113,14 +114,14 @@ public: if ( BoundaryQuery == boundary_back ) { - if ( sid.segment_index + 2 != geometry::num_points(sub_geometry::get(geometry, sid)) ) + if ( sid.segment_index + 2 != geometry::num_points(sub_range(geometry, sid)) ) return false; } if ( BoundaryQuery == boundary_any ) { if ( sid.segment_index != 0 - && sid.segment_index + 2 != geometry::num_points(sub_geometry::get(geometry, sid)) ) + && sid.segment_index + 2 != geometry::num_points(sub_range(geometry, sid)) ) return false; } diff --git a/include/boost/geometry/algorithms/detail/relate/turns.hpp b/include/boost/geometry/algorithms/detail/relate/turns.hpp index 8467474c2..a396534a3 100644 --- a/include/boost/geometry/algorithms/detail/relate/turns.hpp +++ b/include/boost/geometry/algorithms/detail/relate/turns.hpp @@ -110,7 +110,7 @@ struct get_turns reverse1, reverse2, GetTurnPolicy - >::apply(0, geometry1, 1, geometry2, bg::detail::no_rescale_policy(), turns, interrupt_policy); + >::apply(0, geometry1, 1, geometry2, detail::no_rescale_policy(), turns, interrupt_policy); } };