[/============================================================================
  Boost.Geometry (aka GGL, Generic Geometry Library)

  Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands.
  Copyright (c) 2008-2013 Bruno Lalande, Paris, France.
  Copyright (c) 2009-2013 Mateusz Loskot, London, UK.

  Use, modification and distribution is subject to the Boost Software License,
  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  http://www.boost.org/LICENSE_1_0.txt)
=============================================================================/]


[/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically]
[/ Generated from doxy/doxygen_output/xml/group__simplify.xml]
[section:simplify_3 simplify]

'''<indexterm><primary>simplify</primary></indexterm>'''
Simplify a geometry. 

[heading Synopsis]
``template<typename Geometry, typename GeometryOut, typename Distance>
void simplify(Geometry const & geometry, GeometryOut & out, Distance const & max_distance)``

[heading Parameters]

[table
[[Type] [Concept] [Name] [Description] ]
[[Geometry const &] [Any type fulfilling a Geometry Concept ] [geometry] [input geometry, to be simplified ]]
[[GeometryOut &] [The output geometry ] [out] [output geometry, simplified version of the input geometry ]]
[[Distance const &] [numerical type (int, double, ttmath, ...) ] [max_distance] [distance (in units of input coordinates) of a vertex to other segments to be removed ]]
]


[heading Header]
Either

`#include <boost/geometry.hpp>`


Or

`#include <boost/geometry/algorithms/simplify.hpp>`

[include reference/algorithms/simplify.qbk]


[endsect]

[section:simplify_4_with_strategy simplify (with strategy)]

'''<indexterm><primary>simplify</primary></indexterm>'''
Simplify a geometry using a specified strategy. 

[heading Synopsis]
``template<typename Geometry, typename GeometryOut, typename Distance, typename Strategy>
void simplify(Geometry const & geometry, GeometryOut & out, Distance const & max_distance,
              Strategy const & strategy)``

[heading Parameters]

[table
[[Type] [Concept] [Name] [Description] ]
[[Geometry const &] [Any type fulfilling a Geometry Concept ] [geometry] [input geometry, to be simplified ]]
[[GeometryOut &] [The output geometry ] [out] [output geometry, simplified version of the input geometry ]]
[[Distance const &] [A numerical distance measure ] [max_distance] [distance (in units of input coordinates) of a vertex to other segments to be removed ]]
[[Strategy const &] [A type fulfilling a SimplifyStrategy concept ] [strategy] [simplify strategy to be used for simplification ]]
]


[heading Header]
Either

`#include <boost/geometry.hpp>`


Or

`#include <boost/geometry/algorithms/simplify.hpp>`


[endsect]

