1 // Boost.Geometry (aka GGL, Generic Geometry Library)
3 // Copyright (c) 2012-2014 Barend Gehrels, Amsterdam, the Netherlands.
5 // Use, modification and distribution is subject to the Boost Software License,
6 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
9 #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_BUFFER_PARALLEL_CONTINUE_HPP
10 #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_BUFFER_PARALLEL_CONTINUE_HPP
13 namespace boost { namespace geometry
16 #ifndef DOXYGEN_NO_DETAIL
17 namespace detail { namespace buffer
21 inline bool parallel_continue(T dx1, T dy1, T dx2, T dy2)
23 T const dot = dx1 * dx2 + dy1 * dy2;
27 }} // namespace detail::buffer
28 #endif // DOXYGEN_NO_DETAIL
31 }} // namespace boost::geometry
33 #endif // BOOST_GEOMETRY_ALGORITHMS_DETAIL_BUFFER_PARALLEL_CONTINUE_HPP