boost::geometry::strategy::buffer::distance_asymmetric
buffer_distance_asymmetric.hpp
typename NumericType
NumericType NumericType boost::geometry::strategy::buffer::distance_asymmetric< NumericType >::m_left m_left
NumericType NumericType boost::geometry::strategy::buffer::distance_asymmetric< NumericType >::m_right m_right
boost::geometry::strategy::buffer::distance_asymmetric< NumericType >::distance_asymmetric
(NumericType const &left, NumericType const &right)
distance_asymmetric
NumericType const & left
NumericType const & right

Constructs the strategy, two distances must be specified.

left

The distance (or radius) of the buffer on the left side

right

The distance on the right side

Let the buffer for linestrings be asymmetric.

NumericType

numerical type (int, double, ttmath, ...)

This strategy can be used as DistanceStrategy for the buffer algorithm. It can be applied for (multi)linestrings. It uses a (potentially) different distances for left and for right. This means the (multi)linestrings are interpreted having a direction.

[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]

- boost::geometry::strategy::buffer::distance_asymmetric
  distance_asymmetric
- boost::geometry::strategy::buffer::distance_asymmetric
  m_left
- boost::geometry::strategy::buffer::distance_asymmetric
  m_right