// Copyright (c) 2020 Barend Gehrels, Amsterdam, the Netherlands.
-// This file was modified by Oracle on 2020.
-// Modifications copyright (c) 2020 Oracle and/or its affiliates.
+// This file was modified by Oracle on 2020-2022.
+// Modifications copyright (c) 2020-2022 Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
// Use, modification and distribution is subject to the Boost Software License,
typedef typename bg::point_type<Ring>::type point_type;
- border.get_properties_of_border(false, point_type());
+ bg::strategies::buffer::cartesian<> strategy;
- bg::strategy::side::side_by_triangle<> side_strategy;
- border.get_properties_of_offsetted_ring_part(side_strategy);
+ border.get_properties_of_border(false, point_type(), strategy);
+
+ border.get_properties_of_offsetted_ring_part(strategy);
return border;
}
void test_point(std::string const& wkt, bool expected, Border const& border,
Mapper& mapper, std::string const& color)
{
+ bg::strategies::buffer::cartesian<> strategy;
typename Border::state_type state;
Point point;
bg::read_wkt(wkt, point);
- border.point_on_piece(point, false, false, state);
+ border.point_on_piece(point, strategy, false, false, state);
bool const on_piece = state.code() == 1;
BOOST_CHECK_MESSAGE(on_piece == expected,
" expected: " << expected