diff --git a/include/boost/geometry/strategies/cartesian/buffer_join_round.hpp b/include/boost/geometry/strategies/cartesian/buffer_join_round.hpp index 80c081795..838e101c9 100644 --- a/include/boost/geometry/strategies/cartesian/buffer_join_round.hpp +++ b/include/boost/geometry/strategies/cartesian/buffer_join_round.hpp @@ -2,11 +2,6 @@ // Copyright (c) 2012-2015 Barend Gehrels, Amsterdam, the Netherlands. -// This file was modified by Oracle on 2015. -// Modifications copyright (c) 2015, Oracle and/or its affiliates. - -// Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle - // Use, modification and distribution is subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) @@ -94,10 +89,7 @@ private : // Divide the angle into an integer amount of steps to make it // visually correct also for a low number of points / circle - // n is set to be at least 2 so that at least one interior - // point is generated - int const n = (std::max) - (static_cast(m_points_per_circle * dangle / two_pi), 2); + int const n = static_cast(m_points_per_circle * dangle / two_pi); PromotedType const diff = dangle / static_cast(n); PromotedType a = angle1 - diff;