diff options
Diffstat (limited to 'boost/geometry/algorithms/detail/is_valid/is_acceptable_turn.hpp')
-rw-r--r-- | boost/geometry/algorithms/detail/is_valid/is_acceptable_turn.hpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/boost/geometry/algorithms/detail/is_valid/is_acceptable_turn.hpp b/boost/geometry/algorithms/detail/is_valid/is_acceptable_turn.hpp index f9d926770e..0d80d6f6c0 100644 --- a/boost/geometry/algorithms/detail/is_valid/is_acceptable_turn.hpp +++ b/boost/geometry/algorithms/detail/is_valid/is_acceptable_turn.hpp @@ -1,6 +1,6 @@ // Boost.Geometry (aka GGL, Generic Geometry Library) -// Copyright (c) 2014, Oracle and/or its affiliates. +// Copyright (c) 2014-2015, Oracle and/or its affiliates. // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle @@ -72,6 +72,16 @@ template <typename Geometry, typename Tag = typename tag<Geometry>::type> struct is_acceptable_turn {}; +template <typename Ring> +struct is_acceptable_turn<Ring, ring_tag> +{ + template <typename Turn> + static inline bool apply(Turn const&) + { + return false; + } +}; + template <typename Polygon> class is_acceptable_turn<Polygon, polygon_tag> { |