• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[/============================================================================
2  Boost.Geometry (aka GGL, Generic Geometry Library)
3
4  Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands.
5  Copyright (c) 2008-2013 Bruno Lalande, Paris, France.
6  Copyright (c) 2009-2013 Mateusz Loskot, London, UK.
7
8  Use, modification and distribution is subject to the Boost Software License,
9  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
10  http://www.boost.org/LICENSE_1_0.txt)
11=============================================================================/]
12
13
14[/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically]
15[/ Generated from doxy/doxygen_output/xml/classboost_1_1geometry_1_1strategy_1_1simplify_1_1douglas__peucker.xml]
16[section:strategy_simplify_douglas_peucker strategy::simplify::douglas_peucker]
17
18'''<indexterm><primary>strategy</primary></indexterm><indexterm><primary>simplify</primary></indexterm><indexterm><primary>douglas_peucker</primary></indexterm>'''
19Implements the simplify algorithm.
20
21[heading Description]
22The douglas\u005fpeucker strategy simplifies a linestring, ring or vector of points using the well-known Douglas-Peucker algorithm.
23
24[heading Synopsis]
25``template<typename Point, typename PointDistanceStrategy>
26class strategy::simplify::douglas_peucker
27{
28  // ...
29};
30``
31
32[heading Template parameter(s)]
33[table
34[[Parameter] [Description]]
35[[typename Point] [the point type ]]
36[[typename PointDistanceStrategy] [point-segment distance strategy to be used ]]
37]
38
39[heading Member Function(s)]
40[table
41[[Function] [Description] [Parameters]  [Returns]]
42[[``template<typename Range, typename OutputIterator>
43OutputIterator apply(Range const & range, OutputIterator out, distance_type const & max_distance)``
44
45] [] [[* Range const &]: ['range]:
46
47[* OutputIterator]: ['out]:
48
49[* distance_type const &]: ['max_distance]:
50
51
52
53][
54
55]
56]
57]
58
59[heading Header]
60`#include <boost/geometry/strategies/agnostic/simplify_douglas_peucker.hpp>`
61
62[endsect]
63
64