summaryrefslogtreecommitdiff
path: root/boost/geometry/algorithms/detail/sections/section_functions.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/geometry/algorithms/detail/sections/section_functions.hpp')
-rw-r--r--boost/geometry/algorithms/detail/sections/section_functions.hpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/boost/geometry/algorithms/detail/sections/section_functions.hpp b/boost/geometry/algorithms/detail/sections/section_functions.hpp
index d283784e2c..bd72ff48a0 100644
--- a/boost/geometry/algorithms/detail/sections/section_functions.hpp
+++ b/boost/geometry/algorithms/detail/sections/section_functions.hpp
@@ -2,8 +2,8 @@
// Copyright (c) 2015 Barend Gehrels, Amsterdam, the Netherlands.
-// This file was modified by Oracle on 2015, 2017.
-// Modifications copyright (c) 2015-2017, Oracle and/or its affiliates.
+// This file was modified by Oracle on 2015, 2017, 2018.
+// Modifications copyright (c) 2015-2018, Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
@@ -22,6 +22,8 @@
// For spherical/geographic longitudes covered_by point/box
#include <boost/geometry/strategies/cartesian/point_in_box.hpp>
+#include <boost/geometry/util/select_coordinate_type.hpp>
+
namespace boost { namespace geometry
{
@@ -30,6 +32,8 @@ namespace boost { namespace geometry
namespace detail { namespace section
{
+// TODO: This code is CS-specific, should be moved to strategies
+
template
<
std::size_t Dimension,
@@ -68,7 +72,7 @@ struct preceding_check<0, Geometry, spherical_tag>
calc_t const other_min = get<min_corner, 0>(other_box);
calc_t const other_max = get<max_corner, 0>(other_box);
- bool const pt_covered = strategy::within::covered_by_range
+ bool const pt_covered = strategy::within::detail::covered_by_range
<
Point, 0, spherical_tag
>::apply(value,