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__append.xml] 16[section:append append] 17 18'''<indexterm><primary>append</primary></indexterm>''' 19Appends one or more points to a linestring, ring, polygon, multi-geometry. 20 21[heading Synopsis] 22``template<typename Geometry, typename RangeOrPoint> 23void append(Geometry & geometry, RangeOrPoint const & range_or_point, int ring_index = -1, 24 int multi_index = 0)`` 25 26[heading Parameters] 27 28[table 29[[Type] [Concept] [Name] [Description] ] 30[[Geometry &] [Any type fulfilling a Geometry Concept ] [geometry] [A model of the specified concept ]] 31[[RangeOrPoint const &] [Either a range or a point, fullfilling Boost.Range concept or Boost.Geometry Point Concept ] [range_or_point] [The point or range to add ]] 32[[int] [] [ring_index] [The index of the ring in case of a polygon: exterior ring (-1, the default) or interior ring index ]] 33[[int] [] [multi_index] [The index of the geometry to which the points are appended]] 34] 35 36 37[heading Header] 38Either 39 40`#include <boost/geometry.hpp>` 41 42 43Or 44 45`#include <boost/geometry/algorithms/append.hpp>` 46 47[include reference/algorithms/append.qbk] 48 49 50[endsect] 51 52