mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-13 12:32:09 +00:00
[relate] fix compile errors (use of old names)
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#define BOOST_GEOMETRY_ALGORITHMS_DETAIL_RELATE_BOUNDARY_CHECKER_HPP
|
||||
|
||||
#include <boost/geometry/util/range.hpp>
|
||||
#include <boost/geometry/algorithms/detail/sub_range.hpp>
|
||||
|
||||
#include <boost/geometry/algorithms/detail/disjoint/point_point.hpp>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user