1 | // Boost.Geometry (aka GGL, Generic Geometry Library) |
2 | |
3 | // Copyright (c) 2021 Barend Gehrels, Amsterdam, the Netherlands. |
4 | |
5 | // Licensed under the Boost Software License version 1.0. |
6 | // http://www.boost.org/users/license.html |
7 | |
8 | |
9 | #ifndef BOOST_GEOMETRY_TEST_INTERSECTION_ALTERNATIVE_ROBUSTNESS_STRATEGY_HPP |
10 | #define BOOST_GEOMETRY_TEST_INTERSECTION_ALTERNATIVE_ROBUSTNESS_STRATEGY_HPP |
11 | |
12 | #include <boost/geometry/strategies/relate/cartesian.hpp> |
13 | |
14 | |
15 | template <typename SideStrategy> |
16 | class alternative_robustness_strategy |
17 | : public bg::strategies::relate::cartesian<> |
18 | { |
19 | public: |
20 | static auto side() |
21 | { |
22 | return SideStrategy(); |
23 | } |
24 | }; |
25 | |
26 | |
27 | #endif // BOOST_GEOMETRY_TEST_INTERSECTION_ALTERNATIVE_ROBUSTNESS_STRATEGY_HPP |
28 | |