boost::geometry::strategy::buffer::distance_symmetric
buffer_distance_symmetric.hpp
typename NumericType
NumericType NumericType boost::geometry::strategy::buffer::distance_symmetric< NumericType >::m_distance m_distance
boost::geometry::strategy::buffer::distance_symmetric< NumericType >::distance_symmetric
(NumericType const &distance)
distance_symmetric
NumericType const & distance

Constructs the strategy, a distance must be specified.

distance

The distance (or radius) of the buffer

Let the buffer algorithm create buffers with same distances.

NumericType

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

This strategy can be used as DistanceStrategy for the buffer algorithm. It can be applied for all geometries. It uses one distance for left and for right. If the distance is negative and used with a (multi)polygon or ring, the geometry will shrink (deflate) instead of expand (inflate).

[heading Example] [buffer_distance_symmetric] [heading Output] [$img/strategies/buffer_distance_symmetric.png] [heading See also] \* [link geometry.reference.algorithms.buffer.buffer_7_with_strategies buffer (with strategies)] \* [link geometry.reference.strategies.strategy_buffer_distance_asymmetric distance_asymmetric]

- boost::geometry::strategy::buffer::distance_symmetric
  distance_symmetric
- boost::geometry::strategy::buffer::distance_symmetric
  m_distance