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/group__densify.xml] 16[section:densify_4_with_strategy densify (with strategy)] 17 18'''<indexterm><primary>densify</primary></indexterm>''' 19Densify a geometry using a specified strategy. 20 21[heading Synopsis] 22``template<typename Geometry, typename Distance, typename Strategy> 23void densify(Geometry const & geometry, Geometry & out, Distance const & max_distance, 24 Strategy const & strategy)`` 25 26[heading Parameters] 27 28[table 29[[Type] [Concept] [Name] [Description] ] 30[[Geometry const &] [Any type fulfilling a Geometry Concept ] [geometry] [Input geometry, to be densified ]] 31[[Geometry &] [Any type fulfilling a Geometry Concept ] [out] [Output geometry, densified version of the input geometry ]] 32[[Distance const &] [A numerical distance measure ] [max_distance] [Distance threshold (in units depending on strategy) ]] 33[[Strategy const &] [A type fulfilling a DensifyStrategy concept ] [strategy] [Densify strategy to be used for densification]] 34] 35 36 37[heading Header] 38Either 39 40`#include <boost/geometry.hpp>` 41 42 43Or 44 45`#include <boost/geometry/algorithms/densify.hpp>` 46 47[include reference/algorithms/densify.qbk] 48[heading Available Strategies] 49* [link geometry.reference.strategies.strategy_densify_cartesian Cartesian] 50* [link geometry.reference.strategies.strategy_densify_spherical Spherical] 51* [link geometry.reference.strategies.strategy_densify_geographic Geographic] 52 53[heading Example] 54[densify_strategy] 55[densify_strategy_output] 56 57[heading See also] 58* [link geometry.reference.algorithms.line_interpolate line_interpolate] 59 60 61[endsect] 62 63[section:densify_3 densify] 64 65'''<indexterm><primary>densify</primary></indexterm>''' 66Densify a geometry. 67 68[heading Synopsis] 69``template<typename Geometry, typename Distance> 70void densify(Geometry const & geometry, Geometry & out, Distance const & max_distance)`` 71 72[heading Parameters] 73 74[table 75[[Type] [Concept] [Name] [Description] ] 76[[Geometry const &] [Any type fulfilling a Geometry Concept ] [geometry] [Input geometry, to be densified ]] 77[[Geometry &] [Any type fulfilling a Geometry Concept ] [out] [Output geometry, densified version of the input geometry ]] 78[[Distance const &] [A numerical distance measure ] [max_distance] [Distance threshold (in units depending on coordinate system)]] 79] 80 81 82[heading Header] 83Either 84 85`#include <boost/geometry.hpp>` 86 87 88Or 89 90`#include <boost/geometry/algorithms/densify.hpp>` 91 92[include reference/algorithms/densify.qbk] 93[heading Example] 94[densify] 95[densify_output] 96 97[heading See also] 98* [link geometry.reference.algorithms.line_interpolate line_interpolate] 99 100 101[endsect] 102 103