1[/============================================================================ 2 Boost.Geometry (aka GGL, Generic Geometry Library) 3 4 Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands. 5 Copyright (c) 2008-2013 Bruno Lalande, Paris, France. 6 Copyright (c) 2009-2013 Mateusz Loskot, London, UK. 7 8 Use, modification and distribution is subject to the Boost Software License, 9 Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 10 http://www.boost.org/LICENSE_1_0.txt) 11=============================================================================/] 12 13 14[/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically] 15[/ Generated from doxy/doxygen_output/xml/classboost_1_1geometry_1_1strategy_1_1buffer_1_1end__round.xml] 16[section:strategy_buffer_end_round strategy::buffer::end_round] 17 18'''<indexterm><primary>strategy</primary></indexterm><indexterm><primary>buffer</primary></indexterm><indexterm><primary>end_round</primary></indexterm>''' 19Let the buffer create rounded ends. 20 21[heading Description] 22This strategy can be used as EndStrategy for the buffer algorithm. It creates a rounded end for each linestring-end. It can be applied for (multi)linestrings. Also it is applicable for spikes in (multi)polygons. This strategy is only applicable for Cartesian coordinate systems. 23 24[heading Synopsis] 25``class strategy::buffer::end_round 26{ 27 // ... 28}; 29`` 30 31[heading Constructor(s)] 32[table 33[[Function] [Description] [Parameters] ] 34[[``end_round(std::size_t points_per_circle = 90)`` 35 36] [Constructs the strategy. ] [[* std::size_t]: ['points_per_circle]: points which would be used for a full circle (if points_per_circle is smaller than 4, it is internally set to 4) 37 38 39 40]] 41] 42 43[heading Header] 44`#include <boost/geometry/strategies/cartesian/buffer_end_round.hpp>` 45 46[heading Example] 47[buffer_end_round] 48[heading Output] 49[$img/strategies/buffer_end_round.png] 50[heading See also] 51* [link geometry.reference.algorithms.buffer.buffer_7_with_strategies buffer (with strategies)] 52* [link geometry.reference.strategies.strategy_buffer_end_flat end_flat] 53 54[endsect] 55 56