boost::geometry::strategy::buffer::point_square
buffer_point_square.hpp
typename Point
typename DistanceType
typename OutputRange
void void boost::geometry::strategy::buffer::point_square::add_point (Point const &point, DistanceType const &distance, DistanceType const &x, DistanceType const &y, OutputRange &output_range) const add_point Point const & point DistanceType const & distance DistanceType const & x DistanceType const & y OutputRange & output_range
typename Point
typename DistanceType
typename OutputRange
void void boost::geometry::strategy::buffer::point_square::add_points (Point const &point, DistanceType const &distance, OutputRange &output_range) const add_points Point const & point DistanceType const & distance OutputRange & output_range

Create a squared form buffer around a point.

This strategy can be used as PointStrategy for the buffer algorithm. It creates a square from each point, where the point lies in the center. It can be applied for points and multi_points, but also for a linestring (if it is degenerate, so consisting of only one point) and for polygons (if it is degenerate). This strategy is only applicable for Cartesian coordinate systems.

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

- boost::geometry::strategy::buffer::point_square
  add_point
- boost::geometry::strategy::buffer::point_square
  add_points