57 lines
2.2 KiB
Plaintext
57 lines
2.2 KiB
Plaintext
[/============================================================================
|
|
Boost.Geometry (aka GGL, Generic Geometry Library)
|
|
|
|
Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands.
|
|
Copyright (c) 2008-2013 Bruno Lalande, Paris, France.
|
|
Copyright (c) 2009-2013 Mateusz Loskot, London, UK.
|
|
|
|
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)
|
|
=============================================================================/]
|
|
|
|
|
|
[/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically]
|
|
[/ Generated from doxy/doxygen_output/xml/classboost_1_1geometry_1_1strategy_1_1buffer_1_1point__circle.xml]
|
|
[section:strategy_buffer_point_circle strategy::buffer::point_circle]
|
|
|
|
'''<indexterm><primary>strategy</primary></indexterm><indexterm><primary>buffer</primary></indexterm><indexterm><primary>point_circle</primary></indexterm>'''
|
|
Create a circular buffer around a point.
|
|
|
|
[heading Description]
|
|
This strategy can be used as PointStrategy for the buffer algorithm. It creates a circular buffer around a point. It can be applied for points and multi\u005fpoints, but also for a linestring (if it is degenerate, so consisting of only one point) and for polygons (if it is degenerate). This strategy is only applicable for Cartesian coordinate systems.
|
|
|
|
[heading Synopsis]
|
|
``class strategy::buffer::point_circle
|
|
{
|
|
// ...
|
|
};
|
|
``
|
|
|
|
[heading Constructor(s)]
|
|
[table
|
|
[[Function] [Description] [Parameters] ]
|
|
[[``point_circle(std::size_t count = 90)``
|
|
|
|
] [Constructs the strategy. ] [[* std::size_t]: ['count]: number of points for the created circle (if count is smaller than 3, count is internally set to 3)
|
|
|
|
|
|
|
|
]]
|
|
]
|
|
|
|
[heading Header]
|
|
`#include <boost/geometry/strategies/cartesian/buffer_point_circle.hpp>`
|
|
|
|
[heading Example]
|
|
[buffer_point_circle]
|
|
[heading Output]
|
|
[$img/strategies/buffer_point_circle.png]
|
|
[heading See also]
|
|
* [link geometry.reference.algorithms.buffer.buffer_7_with_strategies buffer (with strategies)]
|
|
* [link geometry.reference.strategies.strategy_buffer_point_square point_square]
|
|
* [link geometry.reference.strategies.strategy_buffer_geographic_point_circle geographic_point_circle]
|
|
|
|
[endsect]
|
|
|