1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>insert(rtree<...> &, Iterator, Iterator)</title> 5<link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css"> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="../../../../index.html" title="Chapter 1. Geometry"> 8<link rel="up" href="../group__rtree__functions.html" title="R-tree free functions (boost::geometry::index::)"> 9<link rel="prev" href="insert_rtree_________value_const___.html" title="insert(rtree<...> &, Value const &)"> 10<link rel="next" href="insert_rtree_________convertibleorrange_const___.html" title="insert(rtree<...> &, ConvertibleOrRange const &)"> 11</head> 12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 13<table cellpadding="2" width="100%"><tr> 14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td> 15<td align="center"><a href="../../../../../../../../index.html">Home</a></td> 16<td align="center"><a href="../../../../../../../../libs/libraries.htm">Libraries</a></td> 17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> 18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> 19<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td> 20</tr></table> 21<hr> 22<div class="spirit-nav"> 23<a accesskey="p" href="insert_rtree_________value_const___.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../group__rtree__functions.html"><img src="../../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="insert_rtree_________convertibleorrange_const___.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a> 24</div> 25<div class="section"> 26<div class="titlepage"><div><div><h5 class="title"> 27<a name="geometry.reference.spatial_indexes.group__rtree__functions.insert_rtree_________iterator__iterator_"></a><a name="group__rtree__functions_1ga056469ea699e609e67762fe1b789997f"></a><a class="link" href="insert_rtree_________iterator__iterator_.html" title="insert(rtree<...> &, Iterator, Iterator)">insert(rtree<...> 28 &, Iterator, Iterator)</a> 29</h5></div></div></div> 30<p> 31 <a class="indexterm" name="idm45635674924752"></a> 32Insert a range of values to the index. 33 </p> 34<h6> 35<a name="geometry.reference.spatial_indexes.group__rtree__functions.insert_rtree_________iterator__iterator_.h0"></a> 36 <span class="phrase"><a name="geometry.reference.spatial_indexes.group__rtree__functions.insert_rtree_________iterator__iterator_.description"></a></span><a class="link" href="insert_rtree_________iterator__iterator_.html#geometry.reference.spatial_indexes.group__rtree__functions.insert_rtree_________iterator__iterator_.description">Description</a> 37 </h6> 38<p> 39 It calls <code class="literal"><a class="link" href="../boost__geometry__index__rtree/insert_iterator__iterator_.html#classboost_1_1geometry_1_1index_1_1rtree_1a60d4c8790fd8810ff8b57f049e6bed8d">rtree::insert(Iterator, 40 Iterator)</a></code>. 41 </p> 42<h6> 43<a name="geometry.reference.spatial_indexes.group__rtree__functions.insert_rtree_________iterator__iterator_.h1"></a> 44 <span class="phrase"><a name="geometry.reference.spatial_indexes.group__rtree__functions.insert_rtree_________iterator__iterator_.synopsis"></a></span><a class="link" href="insert_rtree_________iterator__iterator_.html#geometry.reference.spatial_indexes.group__rtree__functions.insert_rtree_________iterator__iterator_.synopsis">Synopsis</a> 45 </h6> 46<pre class="programlisting"><code class="computeroutput"><span class="keyword">template</span><span class="special"><</span></code><code class="computeroutput"><span class="keyword">typename</span> <span class="identifier">Value</span></code><code class="computeroutput"><span class="special">,</span></code> 47 <code class="computeroutput"><span class="keyword">typename</span> <span class="identifier">Parameters</span></code><code class="computeroutput"><span class="special">,</span></code> 48 <code class="computeroutput"><span class="keyword">typename</span> <span class="identifier">IndexableGetter</span></code><code class="computeroutput"><span class="special">,</span></code> 49 <code class="computeroutput"><span class="keyword">typename</span> <span class="identifier">EqualTo</span></code><code class="computeroutput"><span class="special">,</span></code> 50 <code class="computeroutput"><span class="keyword">typename</span> <span class="identifier">Allocator</span></code><code class="computeroutput"><span class="special">,</span></code> 51 <code class="computeroutput"><span class="keyword">typename</span> <span class="identifier">Iterator</span></code><code class="computeroutput"><span class="special">></span></code> 52<code class="computeroutput"><span class="keyword">void</span></code> <code class="computeroutput"><span class="identifier">insert</span></code><code class="computeroutput"><span class="special">(</span></code><code class="computeroutput"><span class="identifier">rtree</span><span class="special"><</span> <span class="identifier">Value</span><span class="special">,</span> <span class="identifier">Parameters</span><span class="special">,</span> <span class="identifier">IndexableGetter</span><span class="special">,</span> <span class="identifier">EqualTo</span><span class="special">,</span> <span class="identifier">Allocator</span> <span class="special">></span> <span class="special">&</span></code> <code class="computeroutput"><span class="identifier">tree</span></code><code class="computeroutput"><span class="special">,</span></code> 53 <code class="computeroutput"><span class="identifier">Iterator</span></code> <code class="computeroutput"><span class="identifier">first</span></code><code class="computeroutput"><span class="special">,</span></code> 54 <code class="computeroutput"><span class="identifier">Iterator</span></code> <code class="computeroutput"><span class="identifier">last</span></code><code class="computeroutput"><span class="special">)</span></code> 55</pre> 56<h6> 57<a name="geometry.reference.spatial_indexes.group__rtree__functions.insert_rtree_________iterator__iterator_.h2"></a> 58 <span class="phrase"><a name="geometry.reference.spatial_indexes.group__rtree__functions.insert_rtree_________iterator__iterator_.parameter_s_"></a></span><a class="link" href="insert_rtree_________iterator__iterator_.html#geometry.reference.spatial_indexes.group__rtree__functions.insert_rtree_________iterator__iterator_.parameter_s_">Parameter(s)</a> 59 </h6> 60<div class="informaltable"><table class="table"> 61<colgroup> 62<col> 63<col> 64<col> 65</colgroup> 66<thead><tr> 67<th> 68 <p> 69 Type 70 </p> 71 </th> 72<th> 73 <p> 74 Name 75 </p> 76 </th> 77<th> 78 <p> 79 Description 80 </p> 81 </th> 82</tr></thead> 83<tbody> 84<tr> 85<td> 86 <p> 87 <code class="computeroutput"><span class="identifier">rtree</span><span class="special"><</span> 88 <span class="identifier">Value</span><span class="special">,</span> 89 <span class="identifier">Parameters</span><span class="special">,</span> 90 <span class="identifier">IndexableGetter</span><span class="special">,</span> 91 <span class="identifier">EqualTo</span><span class="special">,</span> 92 <span class="identifier">Allocator</span> <span class="special">></span> 93 <span class="special">&</span></code> 94 </p> 95 </td> 96<td> 97 <p> 98 <code class="computeroutput"><span class="identifier">tree</span></code> 99 </p> 100 </td> 101<td> 102 <p> 103 The spatial index. 104 </p> 105 </td> 106</tr> 107<tr> 108<td> 109 <p> 110 <code class="computeroutput"><span class="identifier">Iterator</span></code> 111 </p> 112 </td> 113<td> 114 <p> 115 <code class="computeroutput"><span class="identifier">first</span></code> 116 </p> 117 </td> 118<td> 119 <p> 120 The beginning of the range of values. 121 </p> 122 </td> 123</tr> 124<tr> 125<td> 126 <p> 127 <code class="computeroutput"><span class="identifier">Iterator</span></code> 128 </p> 129 </td> 130<td> 131 <p> 132 <code class="computeroutput"><span class="identifier">last</span></code> 133 </p> 134 </td> 135<td> 136 <p> 137 The end of the range of values. 138 </p> 139 </td> 140</tr> 141</tbody> 142</table></div> 143</div> 144<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 145<td align="left"></td> 146<td align="right"><div class="copyright-footer">Copyright © 2009-2019 Barend Gehrels, Bruno Lalande, Mateusz Loskot, Adam 147 Wulkiewicz, Oracle and/or its affiliates<p> 148 Distributed under the Boost Software License, Version 1.0. (See accompanying 149 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) 150 </p> 151</div></td> 152</tr></table> 153<hr> 154<div class="spirit-nav"> 155<a accesskey="p" href="insert_rtree_________value_const___.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../group__rtree__functions.html"><img src="../../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="insert_rtree_________convertibleorrange_const___.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a> 156</div> 157</body> 158</html> 159