simplify_douglas_peucker.qbk 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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_1simplify_1_1douglas__peucker.xml]
  12. [section:strategy_simplify_douglas_peucker strategy::simplify::douglas_peucker]
  13. '''<indexterm><primary>strategy</primary></indexterm><indexterm><primary>simplify</primary></indexterm><indexterm><primary>douglas_peucker</primary></indexterm>'''
  14. Implements the simplify algorithm.
  15. [heading Description]
  16. The douglas\u005fpeucker strategy simplifies a linestring, ring or vector of points using the well-known Douglas-Peucker algorithm.
  17. [heading Synopsis]
  18. ``template<typename Point, typename PointDistanceStrategy>
  19. class strategy::simplify::douglas_peucker
  20. {
  21. // ...
  22. };
  23. ``
  24. [heading Template parameter(s)]
  25. [table
  26. [[Parameter] [Description]]
  27. [[typename Point] [the point type ]]
  28. [[typename PointDistanceStrategy] [point-segment distance strategy to be used ]]
  29. ]
  30. [heading Member Function(s)]
  31. [table
  32. [[Function] [Description] [Parameters] [Returns]]
  33. [[``template<typename Range, typename OutputIterator>
  34. OutputIterator apply(Range const & range, OutputIterator out, distance_type const & max_distance)``
  35. ] [] [[* Range const &]: ['range]:
  36. [* OutputIterator]: ['out]:
  37. [* distance_type const &]: ['max_distance]:
  38. ][
  39. ]
  40. ]
  41. ]
  42. [heading Header]
  43. `#include <boost/geometry/strategies/agnostic/simplify_douglas_peucker.hpp>`
  44. [endsect]