• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>empty(rtree&lt;...&gt; const &amp;)</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="size_rtree______const___.html" title="size(rtree&lt;...&gt; const &amp;)">
10<link rel="next" href="bounds_rtree______const___.html" title="bounds(rtree&lt;...&gt; const &amp;)">
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="size_rtree______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="bounds_rtree______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.empty_rtree______const___"></a><a name="group__rtree__functions_1gaba44e2fb12fdc7b528bfee56a88e0844"></a><a class="link" href="empty_rtree______const___.html" title="empty(rtree&lt;...&gt; const &amp;)">empty(rtree&lt;...&gt;
28          const &amp;)</a>
29</h5></div></div></div>
30<p>
31            <a class="indexterm" name="idm45635673758176"></a>
32Query if there are no values stored in the index.
33          </p>
34<h6>
35<a name="geometry.reference.spatial_indexes.group__rtree__functions.empty_rtree______const___.h0"></a>
36            <span class="phrase"><a name="geometry.reference.spatial_indexes.group__rtree__functions.empty_rtree______const___.description"></a></span><a class="link" href="empty_rtree______const___.html#geometry.reference.spatial_indexes.group__rtree__functions.empty_rtree______const___.description">Description</a>
37          </h6>
38<p>
39            It calls <code class="literal"><a class="link" href="../boost__geometry__index__rtree/empty__.html#classboost_1_1geometry_1_1index_1_1rtree_1a18bed92ff302df192215c3809fe5272e">rtree::empty()</a></code>.
40          </p>
41<h6>
42<a name="geometry.reference.spatial_indexes.group__rtree__functions.empty_rtree______const___.h1"></a>
43            <span class="phrase"><a name="geometry.reference.spatial_indexes.group__rtree__functions.empty_rtree______const___.synopsis"></a></span><a class="link" href="empty_rtree______const___.html#geometry.reference.spatial_indexes.group__rtree__functions.empty_rtree______const___.synopsis">Synopsis</a>
44          </h6>
45<pre class="programlisting"><code class="computeroutput"><span class="keyword">template</span><span class="special">&lt;</span></code><code class="computeroutput"><span class="keyword">typename</span> <span class="identifier">Value</span></code><code class="computeroutput"><span class="special">,</span></code>
46         <code class="computeroutput"><span class="keyword">typename</span> <span class="identifier">Parameters</span></code><code class="computeroutput"><span class="special">,</span></code>
47         <code class="computeroutput"><span class="keyword">typename</span> <span class="identifier">IndexableGetter</span></code><code class="computeroutput"><span class="special">,</span></code>
48         <code class="computeroutput"><span class="keyword">typename</span> <span class="identifier">EqualTo</span></code><code class="computeroutput"><span class="special">,</span></code>
49         <code class="computeroutput"><span class="keyword">typename</span> <span class="identifier">Allocator</span></code><code class="computeroutput"><span class="special">&gt;</span></code>
50<code class="computeroutput"><span class="keyword">bool</span></code> <code class="computeroutput"><span class="identifier">empty</span></code><code class="computeroutput"><span class="special">(</span></code><code class="computeroutput"><span class="identifier">rtree</span><span class="special">&lt;</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">&gt;</span> <span class="keyword">const</span> <span class="special">&amp;</span></code> <code class="computeroutput"><span class="identifier">tree</span></code><code class="computeroutput"><span class="special">)</span></code>
51</pre>
52<h6>
53<a name="geometry.reference.spatial_indexes.group__rtree__functions.empty_rtree______const___.h2"></a>
54            <span class="phrase"><a name="geometry.reference.spatial_indexes.group__rtree__functions.empty_rtree______const___.parameter_s_"></a></span><a class="link" href="empty_rtree______const___.html#geometry.reference.spatial_indexes.group__rtree__functions.empty_rtree______const___.parameter_s_">Parameter(s)</a>
55          </h6>
56<div class="informaltable"><table class="table">
57<colgroup>
58<col>
59<col>
60<col>
61</colgroup>
62<thead><tr>
63<th>
64                    <p>
65                      Type
66                    </p>
67                  </th>
68<th>
69                    <p>
70                      Name
71                    </p>
72                  </th>
73<th>
74                    <p>
75                      Description
76                    </p>
77                  </th>
78</tr></thead>
79<tbody><tr>
80<td>
81                    <p>
82                      <code class="computeroutput"><span class="identifier">rtree</span><span class="special">&lt;</span>
83                      <span class="identifier">Value</span><span class="special">,</span>
84                      <span class="identifier">Parameters</span><span class="special">,</span>
85                      <span class="identifier">IndexableGetter</span><span class="special">,</span>
86                      <span class="identifier">EqualTo</span><span class="special">,</span>
87                      <span class="identifier">Allocator</span> <span class="special">&gt;</span>
88                      <span class="keyword">const</span> <span class="special">&amp;</span></code>
89                    </p>
90                  </td>
91<td>
92                    <p>
93                      <code class="computeroutput"><span class="identifier">tree</span></code>
94                    </p>
95                  </td>
96<td>
97                    <p>
98                      The spatial index.
99                    </p>
100                  </td>
101</tr></tbody>
102</table></div>
103<h6>
104<a name="geometry.reference.spatial_indexes.group__rtree__functions.empty_rtree______const___.h3"></a>
105            <span class="phrase"><a name="geometry.reference.spatial_indexes.group__rtree__functions.empty_rtree______const___.returns"></a></span><a class="link" href="empty_rtree______const___.html#geometry.reference.spatial_indexes.group__rtree__functions.empty_rtree______const___.returns">Returns</a>
106          </h6>
107<p>
108            true if there are no values in the index.
109          </p>
110</div>
111<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
112<td align="left"></td>
113<td align="right"><div class="copyright-footer">Copyright © 2009-2019 Barend Gehrels, Bruno Lalande, Mateusz Loskot, Adam
114      Wulkiewicz, Oracle and/or its affiliates<p>
115        Distributed under the Boost Software License, Version 1.0. (See accompanying
116        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>)
117      </p>
118</div></td>
119</tr></table>
120<hr>
121<div class="spirit-nav">
122<a accesskey="p" href="size_rtree______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="bounds_rtree______const___.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>
123</div>
124</body>
125</html>
126