boost::geometry::strategy::buffer::end_round
buffer_end_round.hpp
std::size_t std::size_t boost::geometry::strategy::buffer::end_round::m_points_per_circle m_points_per_circle
typename Point
typename PromotedType
typename DistanceType
typename RangeOut
void void boost::geometry::strategy::buffer::end_round::generate_points (Point const &point, PromotedType alpha, DistanceType const &buffer_distance, RangeOut &range_out) const generate_points Point const & point PromotedType alpha DistanceType const & buffer_distance RangeOut & range_out
typename T
typename P1
typename P2
T static T boost::geometry::strategy::buffer::end_round::calculate_angle (P1 const &from_point, P2 const &to_point) calculate_angle P1 const & from_point P2 const & to_point
boost::geometry::strategy::buffer::end_round::end_round
(std::size_t points_per_circle=90)
end_round
std::size_t points_per_circle 90

Constructs the strategy.

points_per_circle

points which would be used for a full circle (if points_per_circle is smaller than 4, it is internally set to 4)

Let the buffer create rounded ends.

This strategy can be used as EndStrategy for the buffer algorithm. It creates a rounded end for each linestring-end. It can be applied for (multi)linestrings. Also it is applicable for spikes in (multi)polygons. This strategy is only applicable for Cartesian coordinate systems.

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

- boost::geometry::strategy::buffer::end_round
  calculate_angle
- boost::geometry::strategy::buffer::end_round
  end_round
- boost::geometry::strategy::buffer::end_round
  generate_points
- boost::geometry::strategy::buffer::end_round
  m_points_per_circle