blob: f6e5d280df23a65106a6b8769a239e488810627b [file]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>iceberg-cpp: iceberg/geospatial.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">iceberg-cpp
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_51d145386ec5f52aa06ebf5e46944abc.html">iceberg</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">geospatial.h</div></div>
</div><!--header-->
<div class="contents">
<a href="geospatial_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">/*</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> * or more contributor license agreements. See the NOTICE file</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> * distributed with this work for additional information</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"> * regarding copyright ownership. The ASF licenses this file</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> * to you under the Apache License, Version 2.0 (the</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment"> * &quot;License&quot;); you may not use this file except in compliance</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment"> * with the License. You may obtain a copy of the License at</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment"> *</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment"> *</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="comment"> * Unless required by applicable law or agreed to in writing,</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="comment"> * software distributed under the License is distributed on an</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="comment"> * &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment"> * KIND, either express or implied. See the License for the</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="comment"> * specific language governing permissions and limitations</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment"> * under the License.</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment"> */</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include &lt;cstdint&gt;</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include &lt;optional&gt;</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include &lt;span&gt;</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> </div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="preprocessor">#include &quot;<a class="code" href="iceberg__export_8h.html">iceberg/iceberg_export.h</a>&quot;</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="preprocessor">#include &quot;<a class="code" href="result_8h.html">iceberg/result.h</a>&quot;</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="preprocessor">#include &quot;<a class="code" href="type__fwd_8h.html">iceberg/type_fwd.h</a>&quot;</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceiceberg.html">iceberg</a> {</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> </div>
<div class="foldopen" id="foldopen00037" data-start="{" data-end="};">
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="classiceberg_1_1GeospatialBound.html"> 37</a></span><span class="keyword">class </span>ICEBERG_EXPORT <a class="code hl_class" href="classiceberg_1_1GeospatialBound.html">GeospatialBound</a> {</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">public</span>:</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="classiceberg_1_1GeospatialBound.html#a5b7b73d527ae1a89b9038305f8b04c60"> 40</a></span> <span class="keyword">static</span> <a class="code hl_class" href="classiceberg_1_1GeospatialBound.html">GeospatialBound</a> <a class="code hl_function" href="classiceberg_1_1GeospatialBound.html#a5b7b73d527ae1a89b9038305f8b04c60">XY</a>(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y);</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="classiceberg_1_1GeospatialBound.html#a71659496f7f313cce12ddaa53c54d368"> 42</a></span> <span class="keyword">static</span> <a class="code hl_class" href="classiceberg_1_1GeospatialBound.html">GeospatialBound</a> <a class="code hl_function" href="classiceberg_1_1GeospatialBound.html#a71659496f7f313cce12ddaa53c54d368">XYZ</a>(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <span class="keywordtype">double</span> z);</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="classiceberg_1_1GeospatialBound.html#a4bc65807394273b57fe77619c93735ef"> 44</a></span> <span class="keyword">static</span> <a class="code hl_class" href="classiceberg_1_1GeospatialBound.html">GeospatialBound</a> <a class="code hl_function" href="classiceberg_1_1GeospatialBound.html#a4bc65807394273b57fe77619c93735ef">XYM</a>(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <span class="keywordtype">double</span> m);</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="classiceberg_1_1GeospatialBound.html#a36c67044e926ba48ba3a00845e9603ad"> 46</a></span> <span class="keyword">static</span> <a class="code hl_class" href="classiceberg_1_1GeospatialBound.html">GeospatialBound</a> <a class="code hl_function" href="classiceberg_1_1GeospatialBound.html#a36c67044e926ba48ba3a00845e9603ad">XYZM</a>(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <span class="keywordtype">double</span> z, <span class="keywordtype">double</span> m);</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> </div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="classiceberg_1_1GeospatialBound.html#a23964d7f0b70e89626e27d0f63aa500f"> 49</a></span> <span class="keywordtype">double</span> <a class="code hl_function" href="classiceberg_1_1GeospatialBound.html#a23964d7f0b70e89626e27d0f63aa500f">x</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> x_; }</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="classiceberg_1_1GeospatialBound.html#a17c7796d3f77afc3479ca7017464528c"> 51</a></span> <span class="keywordtype">double</span> <a class="code hl_function" href="classiceberg_1_1GeospatialBound.html#a17c7796d3f77afc3479ca7017464528c">y</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> y_; }</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="classiceberg_1_1GeospatialBound.html#a5919e245b92d705a7d8a82664fe6b3e6"> 53</a></span> <span class="keyword">const</span> std::optional&lt;double&gt;&amp; <a class="code hl_function" href="classiceberg_1_1GeospatialBound.html#a5919e245b92d705a7d8a82664fe6b3e6">z</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> z_; }</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="classiceberg_1_1GeospatialBound.html#ae426ca3c35292df9281a2165578f10c3"> 55</a></span> <span class="keyword">const</span> std::optional&lt;double&gt;&amp; <a class="code hl_function" href="classiceberg_1_1GeospatialBound.html#ae426ca3c35292df9281a2165578f10c3">m</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_; }</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> </div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="classiceberg_1_1GeospatialBound.html#af7911abe6a9649d2532bd27743effbf3"> 58</a></span> <span class="keyword">static</span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;GeospatialBound&gt;</a> <a class="code hl_function" href="classiceberg_1_1GeospatialBound.html#af7911abe6a9649d2532bd27743effbf3">Deserialize</a>(std::span&lt;const uint8_t&gt; bytes);</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="classiceberg_1_1GeospatialBound.html#ab38fe3e901d2dc4547f7569bd2518914"> 60</a></span> std::vector&lt;uint8_t&gt; <a class="code hl_function" href="classiceberg_1_1GeospatialBound.html#ab38fe3e901d2dc4547f7569bd2518914">Serialize</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> </div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <span class="keyword">friend</span> <span class="keywordtype">bool</span> operator==(<span class="keyword">const</span> <a class="code hl_class" href="classiceberg_1_1GeospatialBound.html">GeospatialBound</a>&amp;, <span class="keyword">const</span> <a class="code hl_class" href="classiceberg_1_1GeospatialBound.html">GeospatialBound</a>&amp;) = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <span class="keyword">private</span>:</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> <a class="code hl_class" href="classiceberg_1_1GeospatialBound.html">GeospatialBound</a>(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, std::optional&lt;double&gt; z, std::optional&lt;double&gt; m);</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> <span class="keywordtype">double</span> x_;</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <span class="keywordtype">double</span> y_;</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> std::optional&lt;double&gt; z_;</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> std::optional&lt;double&gt; m_;</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span>};</div>
</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> </div>
<div class="foldopen" id="foldopen00074" data-start="{" data-end="};">
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundingBox.html"> 74</a></span><span class="keyword">class </span>ICEBERG_EXPORT <a class="code hl_class" href="classiceberg_1_1BoundingBox.html">BoundingBox</a> {</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> <span class="keyword">public</span>:</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundingBox.html#a8621ff04b5cfc64e0d4091954bdb2f99"> 77</a></span> <a class="code hl_function" href="classiceberg_1_1BoundingBox.html#a8621ff04b5cfc64e0d4091954bdb2f99">BoundingBox</a>(<a class="code hl_class" href="classiceberg_1_1GeospatialBound.html">GeospatialBound</a> lower, <a class="code hl_class" href="classiceberg_1_1GeospatialBound.html">GeospatialBound</a> upper);</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> </div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundingBox.html#a5eb284857183355b2c61d0131e294865"> 80</a></span> <span class="keyword">const</span> <a class="code hl_class" href="classiceberg_1_1GeospatialBound.html">GeospatialBound</a>&amp; <a class="code hl_function" href="classiceberg_1_1BoundingBox.html#a5eb284857183355b2c61d0131e294865">lower</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> lower_; }</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundingBox.html#a7d90f3b7e330e732d44e640235df4d9d"> 82</a></span> <span class="keyword">const</span> <a class="code hl_class" href="classiceberg_1_1GeospatialBound.html">GeospatialBound</a>&amp; <a class="code hl_function" href="classiceberg_1_1BoundingBox.html#a7d90f3b7e330e732d44e640235df4d9d">upper</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> upper_; }</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> </div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundingBox.html#a215a796d9b9b327e80af97da01919ae6"> 85</a></span> <span class="keyword">static</span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;BoundingBox&gt;</a> <a class="code hl_function" href="classiceberg_1_1BoundingBox.html#a215a796d9b9b327e80af97da01919ae6">Deserialize</a>(std::span&lt;const uint8_t&gt; lower,</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> std::span&lt;const uint8_t&gt; upper);</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundingBox.html#aabbe9ac86320de3540300c2bf0ad6ae8"> 88</a></span> <span class="keyword">static</span> <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;BoundingBox&gt;</a> <a class="code hl_function" href="classiceberg_1_1BoundingBox.html#aabbe9ac86320de3540300c2bf0ad6ae8">Deserialize</a>(std::span&lt;const uint8_t&gt; bytes);</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"><a class="line" href="classiceberg_1_1BoundingBox.html#ac802e313aec39e53218026c7987bd9aa"> 90</a></span> std::vector&lt;uint8_t&gt; <a class="code hl_function" href="classiceberg_1_1BoundingBox.html#ac802e313aec39e53218026c7987bd9aa">Serialize</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> </div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <span class="keyword">friend</span> <span class="keywordtype">bool</span> operator==(<span class="keyword">const</span> <a class="code hl_class" href="classiceberg_1_1BoundingBox.html">BoundingBox</a>&amp;, <span class="keyword">const</span> <a class="code hl_class" href="classiceberg_1_1BoundingBox.html">BoundingBox</a>&amp;) = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> </div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> <span class="keyword">private</span>:</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <a class="code hl_class" href="classiceberg_1_1GeospatialBound.html">GeospatialBound</a> lower_;</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <a class="code hl_class" href="classiceberg_1_1GeospatialBound.html">GeospatialBound</a> upper_;</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span>};</div>
</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> </div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"><a class="line" href="namespaceiceberg.html#abb5abf5b80f3ee0efe2321c8d1d75f8e"> 102</a></span>ICEBERG_EXPORT <a class="code hl_typedef" href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">Result&lt;bool&gt;</a> <a class="code hl_function" href="namespaceiceberg.html#abb5abf5b80f3ee0efe2321c8d1d75f8e">GeospatialBoundsIntersect</a>(<span class="keyword">const</span> <a class="code hl_class" href="classiceberg_1_1Type.html">Type</a>&amp; type,</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> <span class="keyword">const</span> <a class="code hl_class" href="classiceberg_1_1BoundingBox.html">BoundingBox</a>&amp; lhs,</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> <span class="keyword">const</span> <a class="code hl_class" href="classiceberg_1_1BoundingBox.html">BoundingBox</a>&amp; rhs);</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> </div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span>} <span class="comment">// namespace iceberg</span></div>
<div class="ttc" id="aclassiceberg_1_1BoundingBox_html"><div class="ttname"><a href="classiceberg_1_1BoundingBox.html">iceberg::BoundingBox</a></div><div class="ttdoc">A pair of lower and upper geospatial column bounds.</div><div class="ttdef"><b>Definition</b> geospatial.h:74</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundingBox_html_a215a796d9b9b327e80af97da01919ae6"><div class="ttname"><a href="classiceberg_1_1BoundingBox.html#a215a796d9b9b327e80af97da01919ae6">iceberg::BoundingBox::Deserialize</a></div><div class="ttdeci">static Result&lt; BoundingBox &gt; Deserialize(std::span&lt; const uint8_t &gt; lower, std::span&lt; const uint8_t &gt; upper)</div><div class="ttdoc">Decode a bounding box from separate lower and upper encodings.</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundingBox_html_a5eb284857183355b2c61d0131e294865"><div class="ttname"><a href="classiceberg_1_1BoundingBox.html#a5eb284857183355b2c61d0131e294865">iceberg::BoundingBox::lower</a></div><div class="ttdeci">const GeospatialBound &amp; lower() const</div><div class="ttdoc">Return the lower bound.</div><div class="ttdef"><b>Definition</b> geospatial.h:80</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundingBox_html_a7d90f3b7e330e732d44e640235df4d9d"><div class="ttname"><a href="classiceberg_1_1BoundingBox.html#a7d90f3b7e330e732d44e640235df4d9d">iceberg::BoundingBox::upper</a></div><div class="ttdeci">const GeospatialBound &amp; upper() const</div><div class="ttdoc">Return the upper bound.</div><div class="ttdef"><b>Definition</b> geospatial.h:82</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundingBox_html_a8621ff04b5cfc64e0d4091954bdb2f99"><div class="ttname"><a href="classiceberg_1_1BoundingBox.html#a8621ff04b5cfc64e0d4091954bdb2f99">iceberg::BoundingBox::BoundingBox</a></div><div class="ttdeci">BoundingBox(GeospatialBound lower, GeospatialBound upper)</div><div class="ttdoc">Create a bounding box from lower and upper bounds.</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundingBox_html_aabbe9ac86320de3540300c2bf0ad6ae8"><div class="ttname"><a href="classiceberg_1_1BoundingBox.html#aabbe9ac86320de3540300c2bf0ad6ae8">iceberg::BoundingBox::Deserialize</a></div><div class="ttdeci">static Result&lt; BoundingBox &gt; Deserialize(std::span&lt; const uint8_t &gt; bytes)</div><div class="ttdoc">Decode a bounding box from Iceberg's combined encoding.</div></div>
<div class="ttc" id="aclassiceberg_1_1BoundingBox_html_ac802e313aec39e53218026c7987bd9aa"><div class="ttname"><a href="classiceberg_1_1BoundingBox.html#ac802e313aec39e53218026c7987bd9aa">iceberg::BoundingBox::Serialize</a></div><div class="ttdeci">std::vector&lt; uint8_t &gt; Serialize() const</div><div class="ttdoc">Encode this bounding box using Iceberg's combined encoding.</div></div>
<div class="ttc" id="aclassiceberg_1_1GeospatialBound_html"><div class="ttname"><a href="classiceberg_1_1GeospatialBound.html">iceberg::GeospatialBound</a></div><div class="ttdoc">A point used as a lower or upper geospatial column bound.</div><div class="ttdef"><b>Definition</b> geospatial.h:37</div></div>
<div class="ttc" id="aclassiceberg_1_1GeospatialBound_html_a17c7796d3f77afc3479ca7017464528c"><div class="ttname"><a href="classiceberg_1_1GeospatialBound.html#a17c7796d3f77afc3479ca7017464528c">iceberg::GeospatialBound::y</a></div><div class="ttdeci">double y() const</div><div class="ttdoc">Return the Y coordinate.</div><div class="ttdef"><b>Definition</b> geospatial.h:51</div></div>
<div class="ttc" id="aclassiceberg_1_1GeospatialBound_html_a23964d7f0b70e89626e27d0f63aa500f"><div class="ttname"><a href="classiceberg_1_1GeospatialBound.html#a23964d7f0b70e89626e27d0f63aa500f">iceberg::GeospatialBound::x</a></div><div class="ttdeci">double x() const</div><div class="ttdoc">Return the X coordinate.</div><div class="ttdef"><b>Definition</b> geospatial.h:49</div></div>
<div class="ttc" id="aclassiceberg_1_1GeospatialBound_html_a36c67044e926ba48ba3a00845e9603ad"><div class="ttname"><a href="classiceberg_1_1GeospatialBound.html#a36c67044e926ba48ba3a00845e9603ad">iceberg::GeospatialBound::XYZM</a></div><div class="ttdeci">static GeospatialBound XYZM(double x, double y, double z, double m)</div><div class="ttdoc">Create a bound with Z and M coordinates.</div></div>
<div class="ttc" id="aclassiceberg_1_1GeospatialBound_html_a4bc65807394273b57fe77619c93735ef"><div class="ttname"><a href="classiceberg_1_1GeospatialBound.html#a4bc65807394273b57fe77619c93735ef">iceberg::GeospatialBound::XYM</a></div><div class="ttdeci">static GeospatialBound XYM(double x, double y, double m)</div><div class="ttdoc">Create a bound with an M coordinate.</div></div>
<div class="ttc" id="aclassiceberg_1_1GeospatialBound_html_a5919e245b92d705a7d8a82664fe6b3e6"><div class="ttname"><a href="classiceberg_1_1GeospatialBound.html#a5919e245b92d705a7d8a82664fe6b3e6">iceberg::GeospatialBound::z</a></div><div class="ttdeci">const std::optional&lt; double &gt; &amp; z() const</div><div class="ttdoc">Return the optional Z coordinate.</div><div class="ttdef"><b>Definition</b> geospatial.h:53</div></div>
<div class="ttc" id="aclassiceberg_1_1GeospatialBound_html_a5b7b73d527ae1a89b9038305f8b04c60"><div class="ttname"><a href="classiceberg_1_1GeospatialBound.html#a5b7b73d527ae1a89b9038305f8b04c60">iceberg::GeospatialBound::XY</a></div><div class="ttdeci">static GeospatialBound XY(double x, double y)</div><div class="ttdoc">Create a two-dimensional bound.</div></div>
<div class="ttc" id="aclassiceberg_1_1GeospatialBound_html_a71659496f7f313cce12ddaa53c54d368"><div class="ttname"><a href="classiceberg_1_1GeospatialBound.html#a71659496f7f313cce12ddaa53c54d368">iceberg::GeospatialBound::XYZ</a></div><div class="ttdeci">static GeospatialBound XYZ(double x, double y, double z)</div><div class="ttdoc">Create a bound with a Z coordinate.</div></div>
<div class="ttc" id="aclassiceberg_1_1GeospatialBound_html_ab38fe3e901d2dc4547f7569bd2518914"><div class="ttname"><a href="classiceberg_1_1GeospatialBound.html#ab38fe3e901d2dc4547f7569bd2518914">iceberg::GeospatialBound::Serialize</a></div><div class="ttdeci">std::vector&lt; uint8_t &gt; Serialize() const</div><div class="ttdoc">Encode this bound using little-endian encoding.</div></div>
<div class="ttc" id="aclassiceberg_1_1GeospatialBound_html_ae426ca3c35292df9281a2165578f10c3"><div class="ttname"><a href="classiceberg_1_1GeospatialBound.html#ae426ca3c35292df9281a2165578f10c3">iceberg::GeospatialBound::m</a></div><div class="ttdeci">const std::optional&lt; double &gt; &amp; m() const</div><div class="ttdoc">Return the optional M coordinate.</div><div class="ttdef"><b>Definition</b> geospatial.h:55</div></div>
<div class="ttc" id="aclassiceberg_1_1GeospatialBound_html_af7911abe6a9649d2532bd27743effbf3"><div class="ttname"><a href="classiceberg_1_1GeospatialBound.html#af7911abe6a9649d2532bd27743effbf3">iceberg::GeospatialBound::Deserialize</a></div><div class="ttdeci">static Result&lt; GeospatialBound &gt; Deserialize(std::span&lt; const uint8_t &gt; bytes)</div><div class="ttdoc">Decode a little-endian geospatial bound.</div></div>
<div class="ttc" id="aclassiceberg_1_1Type_html"><div class="ttname"><a href="classiceberg_1_1Type.html">iceberg::Type</a></div><div class="ttdoc">Interface for a data type for a field.</div><div class="ttdef"><b>Definition</b> type.h:44</div></div>
<div class="ttc" id="aiceberg__export_8h_html"><div class="ttname"><a href="iceberg__export_8h.html">iceberg_export.h</a></div><div class="ttdoc">Define symbol visibility macros for core Iceberg APIs.</div></div>
<div class="ttc" id="anamespaceiceberg_html"><div class="ttname"><a href="namespaceiceberg.html">iceberg</a></div><div class="ttdoc">Core Apache Iceberg C++ APIs.</div><div class="ttdef"><b>Definition</b> arrow_io_util.h:33</div></div>
<div class="ttc" id="anamespaceiceberg_html_a9d5594e371beb516b0120e07e69d3af6"><div class="ttname"><a href="namespaceiceberg.html#a9d5594e371beb516b0120e07e69d3af6">iceberg::Result</a></div><div class="ttdeci">std::expected&lt; T, E &gt; Result</div><div class="ttdoc">Result alias.</div><div class="ttdef"><b>Definition</b> result.h:88</div></div>
<div class="ttc" id="anamespaceiceberg_html_abb5abf5b80f3ee0efe2321c8d1d75f8e"><div class="ttname"><a href="namespaceiceberg.html#abb5abf5b80f3ee0efe2321c8d1d75f8e">iceberg::GeospatialBoundsIntersect</a></div><div class="ttdeci">ICEBERG_EXPORT Result&lt; bool &gt; GeospatialBoundsIntersect(const Type &amp;type, const BoundingBox &amp;lhs, const BoundingBox &amp;rhs)</div><div class="ttdoc">Check whether two bounding boxes intersect for an Iceberg geospatial type.</div></div>
<div class="ttc" id="aresult_8h_html"><div class="ttname"><a href="result_8h.html">result.h</a></div><div class="ttdoc">Define Result, Status, and error helpers.</div></div>
<div class="ttc" id="atype__fwd_8h_html"><div class="ttname"><a href="type__fwd_8h.html">type_fwd.h</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>