• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_1distance__asymmetric.xml]
16[section:strategy_buffer_distance_asymmetric strategy::buffer::distance_asymmetric]
17
18'''<indexterm><primary>strategy</primary></indexterm><indexterm><primary>buffer</primary></indexterm><indexterm><primary>distance_asymmetric</primary></indexterm>'''
19Let the buffer for linestrings be asymmetric.
20
21[heading Synopsis]
22``template<typename NumericType>
23class strategy::buffer::distance_asymmetric
24{
25  // ...
26};
27``
28
29[heading Template parameter(s)]
30[table
31[[Parameter] [Description]]
32[[typename NumericType] [numerical type (int, double, ttmath, ...)]]
33]
34
35[heading Constructor(s)]
36[table
37[[Function] [Description] [Parameters] ]
38[[``distance_asymmetric(NumericType const & left, NumericType const & right)``
39
40] [Constructs the strategy, two distances must be specified. ] [[* NumericType const &]: ['left]:  The distance (or radius) of the buffer on the left side
41
42[* NumericType const &]: ['right]:  The distance on the right side
43
44
45
46]]
47]
48
49[heading Header]
50`#include <boost/geometry/strategies/agnostic/buffer_distance_asymmetric.hpp>`
51
52[heading Example]
53[buffer_distance_asymmetric]
54[heading Output]
55[$img/strategies/buffer_distance_asymmetric.png]
56[heading See also]
57* [link geometry.reference.algorithms.buffer.buffer_7_with_strategies buffer (with strategies)]
58* [link geometry.reference.strategies.strategy_buffer_distance_symmetric distance_symmetric]
59
60[endsect]
61
62