append

# append: append points to geometries

typename Geometry
typename RangeOrPoint
void void boost::geometry::append (Geometry &geometry, RangeOrPoint const &range_or_point, int ring_index=-1, int multi_index=0) append Geometry & geometry RangeOrPoint const & range_or_point int ring_index -1 int multi_index 0

Appends one or more points to a linestring, ring, polygon, multi-geometry.

Geometry

Any type fulfilling a Geometry Concept

RangeOrPoint

Either a range or a point, fullfilling Boost.Range concept or Boost.Geometry Point Concept

geometry

A model of the specified concept

range_or_point

The point or range to add

ring_index

The index of the ring in case of a polygon: exterior ring (-1, the default) or interior ring index

multi_index

The index of the geometry to which the points are appended

[include reference/algorithms/append.qbk] }