buffer_point_square.qbk 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. [/============================================================================
  2. Boost.Geometry (aka GGL, Generic Geometry Library)
  3. Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands.
  4. Copyright (c) 2008-2013 Bruno Lalande, Paris, France.
  5. Copyright (c) 2009-2013 Mateusz Loskot, London, UK.
  6. Use, modification and distribution is subject to the Boost Software License,
  7. Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  8. http://www.boost.org/LICENSE_1_0.txt)
  9. =============================================================================/]
  10. [/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically]
  11. [/ Generated from doxy/doxygen_output/xml/classboost_1_1geometry_1_1strategy_1_1buffer_1_1point__square.xml]
  12. [section:strategy_buffer_point_square strategy::buffer::point_square]
  13. '''<indexterm><primary>strategy</primary></indexterm><indexterm><primary>buffer</primary></indexterm><indexterm><primary>point_square</primary></indexterm>'''
  14. Create a squared form buffer around a point.
  15. [heading Description]
  16. 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\u005fpoints, 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.
  17. [heading Synopsis]
  18. ``class strategy::buffer::point_square
  19. {
  20. // ...
  21. };
  22. ``
  23. [heading Header]
  24. `#include <boost/geometry/strategies/cartesian/buffer_point_square.hpp>`
  25. [heading Example]
  26. [buffer_point_square]
  27. [heading Output]
  28. [$img/strategies/buffer_point_square.png]
  29. [heading See also]
  30. * [link geometry.reference.algorithms.buffer.buffer_7_with_strategies buffer (with strategies)]
  31. * [link geometry.reference.strategies.strategy_buffer_point_circle point_circle]
  32. * [link geometry.reference.strategies.strategy_buffer_geographic_point_circle geographic_point_circle]
  33. [endsect]