62 lines
2.1 KiB
Plaintext
62 lines
2.1 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_1distance__asymmetric.xml]
|
|
[section:strategy_buffer_distance_asymmetric strategy::buffer::distance_asymmetric]
|
|
|
|
'''<indexterm><primary>strategy</primary></indexterm><indexterm><primary>buffer</primary></indexterm><indexterm><primary>distance_asymmetric</primary></indexterm>'''
|
|
Let the buffer for linestrings be asymmetric.
|
|
|
|
[heading Synopsis]
|
|
``template<typename NumericType>
|
|
class strategy::buffer::distance_asymmetric
|
|
{
|
|
// ...
|
|
};
|
|
``
|
|
|
|
[heading Template parameter(s)]
|
|
[table
|
|
[[Parameter] [Description]]
|
|
[[typename NumericType] [numerical type (int, double, ttmath, ...)]]
|
|
]
|
|
|
|
[heading Constructor(s)]
|
|
[table
|
|
[[Function] [Description] [Parameters] ]
|
|
[[``distance_asymmetric(NumericType const & left, NumericType const & right)``
|
|
|
|
] [Constructs the strategy, two distances must be specified. ] [[* NumericType const &]: ['left]: The distance (or radius) of the buffer on the left side
|
|
|
|
[* NumericType const &]: ['right]: The distance on the right side
|
|
|
|
|
|
|
|
]]
|
|
]
|
|
|
|
[heading Header]
|
|
`#include <boost/geometry/strategies/agnostic/buffer_distance_asymmetric.hpp>`
|
|
|
|
[heading Example]
|
|
[buffer_distance_asymmetric]
|
|
[heading Output]
|
|
[$img/strategies/buffer_distance_asymmetric.png]
|
|
[heading See also]
|
|
* [link geometry.reference.algorithms.buffer.buffer_7_with_strategies buffer (with strategies)]
|
|
* [link geometry.reference.strategies.strategy_buffer_distance_symmetric distance_symmetric]
|
|
|
|
[endsect]
|
|
|