geos_390_docs/Envelope_8h_source.html

87 lines
46 KiB
HTML
Raw Permalink Normal View History

2020-12-23 18:34:09 -08:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>GEOS: Envelope.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="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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">GEOS
&#160;<span id="projectnumber">3.9.1dev</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_0bc14b2fb119a11b6a0f32f4d350db61.html">geos</a></li><li class="navelem"><a class="el" href="dir_aed5f07abf54fb298f6559880addb1ef.html">geom</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">Envelope.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="Envelope_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/**********************************************************************</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * GEOS - Geometry Engine Open Source</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * http://geos.osgeo.org</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * Copyright (C) 2006 Refractions Research Inc.</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * This is free software; you can redistribute and/or modify it under</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * the terms of the GNU Lesser General Public Licence as published</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * by the Free Software Foundation.</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * See the COPYING file for more information.</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> **********************************************************************</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * Last port: geom/Envelope.java rev 1.46 (JTS-1.10)</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> **********************************************************************/</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#ifndef GEOS_GEOM_ENVELOPE_H</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#define GEOS_GEOM_ENVELOPE_H</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="export_8h.html">geos/export.h</a>&gt;</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="inline_8h.html">geos/inline.h</a>&gt;</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="Coordinate_8h.html">geos/geom/Coordinate.h</a>&gt;</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</s
<div class="ttc" id="classgeos_1_1geom_1_1Envelope_html"><div class="ttname"><a href="classgeos_1_1geom_1_1Envelope.html">geos::geom::Envelope</a></div><div class="ttdoc">An Envelope defines a rectangulare region of the 2D coordinate plane. </div><div class="ttdef"><b>Definition:</b> <a href="Envelope_8h_source.html#l00058">Envelope.h:58</a></div></div>
<div class="ttc" id="export_8h_html_ae36df939090171f6e9a28a8cb6254fea"><div class="ttname"><a href="export_8h.html#ae36df939090171f6e9a28a8cb6254fea">GEOS_DLL</a></div><div class="ttdeci">#define GEOS_DLL</div><div class="ttdef"><b>Definition:</b> <a href="export_8h_source.html#l00028">export.h:28</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Coordinate_html_acdeb58356624ebe25cbbf5b6021c3d9d"><div class="ttname"><a href="classgeos_1_1geom_1_1Coordinate.html#acdeb58356624ebe25cbbf5b6021c3d9d">geos::geom::Coordinate::y</a></div><div class="ttdeci">double y</div><div class="ttdoc">y-coordinate </div><div class="ttdef"><b>Definition:</b> <a href="Coordinate_8h_source.html#l00083">Coordinate.h:83</a></div></div>
<div class="ttc" id="inline_8h_html"><div class="ttname"><a href="inline_8h.html">inline.h</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Coordinate_html"><div class="ttname"><a href="classgeos_1_1geom_1_1Coordinate.html">geos::geom::Coordinate</a></div><div class="ttdoc">Coordinate is the lightweight class used to store coordinates. </div><div class="ttdef"><b>Definition:</b> <a href="Coordinate_8h_source.html#l00060">Coordinate.h:60</a></div></div>
<div class="ttc" id="export_8h_html"><div class="ttname"><a href="export_8h.html">export.h</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Envelope_html_a7c2ed05b826b896e513d8d90b8434875"><div class="ttname"><a href="classgeos_1_1geom_1_1Envelope.html#a7c2ed05b826b896e513d8d90b8434875">geos::geom::Envelope::contains</a></div><div class="ttdeci">bool contains(const Envelope *other) const </div><div class="ttdef"><b>Definition:</b> <a href="Envelope_8h_source.html#l00341">Envelope.h:341</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Envelope_html_a6ea782ac879b11ab463b5535a001d2af"><div class="ttname"><a href="classgeos_1_1geom_1_1Envelope.html#a6ea782ac879b11ab463b5535a001d2af">geos::geom::Envelope::maxy</a></div><div class="ttdeci">double maxy</div><div class="ttdoc">the maximum y-coordinate </div><div class="ttdef"><b>Definition:</b> <a href="Envelope_8h_source.html#l00523">Envelope.h:523</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Envelope_html_a8e499f3a0fc1b71f1b3e2bb166b7a968"><div class="ttname"><a href="classgeos_1_1geom_1_1Envelope.html#a8e499f3a0fc1b71f1b3e2bb166b7a968">geos::geom::Envelope::contains</a></div><div class="ttdeci">bool contains(const Coordinate &amp;p) const </div><div class="ttdoc">Returns true if the given point lies in or on the envelope. </div><div class="ttdef"><b>Definition:</b> <a href="Envelope_8h_source.html#l00354">Envelope.h:354</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Envelope_html_aa5c4848efadb6212bd589714b359aeaa"><div class="ttname"><a href="classgeos_1_1geom_1_1Envelope.html#aa5c4848efadb6212bd589714b359aeaa">geos::geom::Envelope::getArea</a></div><div class="ttdeci">double getArea() const </div><div class="ttdoc">Gets the area of this envelope. </div><div class="ttdef"><b>Definition:</b> <a href="Envelope_8h_source.html#l00212">Envelope.h:212</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Envelope_html_af2a9719d7721b36e084b907f809f5de4"><div class="ttname"><a href="classgeos_1_1geom_1_1Envelope.html#af2a9719d7721b36e084b907f809f5de4">geos::geom::Envelope::contains</a></div><div class="ttdeci">bool contains(double x, double y) const </div><div class="ttdoc">Returns true if the given point lies in or on the envelope. </div><div class="ttdef"><b>Definition:</b> <a href="Envelope_8h_source.html#l00370">Envelope.h:370</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Envelope_html_a334bc8ad9dab404405c25c1f4de3fee2"><div class="ttname"><a href="classgeos_1_1geom_1_1Envelope.html#a334bc8ad9dab404405c25c1f4de3fee2">geos::geom::Envelope::covers</a></div><div class="ttdeci">bool covers(const Envelope *other) const </div><div class="ttdef"><b>Definition:</b> <a href="Envelope_8h_source.html#l00439">Envelope.h:439</a></div></div>
<div class="ttc" id="namespacegeos_1_1geom_html_a2031e0143940407ca589d3216cf0eb06"><div class="ttname"><a href="namespacegeos_1_1geom.html#a2031e0143940407ca589d3216cf0eb06">geos::geom::operator&lt;&lt;</a></div><div class="ttdeci">std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const Coordinate &amp;c)</div><div class="ttdoc">Output function. </div></div>
<div class="ttc" id="namespacegeos_html"><div class="ttname"><a href="namespacegeos.html">geos</a></div><div class="ttdoc">Basic namespace for all GEOS functionalities. </div><div class="ttdef"><b>Definition:</b> <a href="IndexedNestedRingTester_8h_source.html#l00026">IndexedNestedRingTester.h:26</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Envelope_html_ad5209389162efebc359e36c60b4b7516"><div class="ttname"><a href="classgeos_1_1geom_1_1Envelope.html#ad5209389162efebc359e36c60b4b7516">geos::geom::Envelope::minx</a></div><div class="ttdeci">double minx</div><div class="ttdoc">the minimum x-coordinate </div><div class="ttdef"><b>Definition:</b> <a href="Envelope_8h_source.html#l00514">Envelope.h:514</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Envelope_html_ab206f2390f2fc2efd3df9e6eab71c672"><div class="ttname"><a href="classgeos_1_1geom_1_1Envelope.html#ab206f2390f2fc2efd3df9e6eab71c672">geos::geom::Envelope::Ptr</a></div><div class="ttdeci">std::unique_ptr&lt; Envelope &gt; Ptr</div><div class="ttdef"><b>Definition:</b> <a href="Envelope_8h_source.html#l00064">Envelope.h:64</a></div></div>
<div class="ttc" id="Coordinate_8h_html"><div class="ttname"><a href="Coordinate_8h.html">Coordinate.h</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Coordinate_html_ad809a77e5715e490a7e5f95c8611737e"><div class="ttname"><a href="classgeos_1_1geom_1_1Coordinate.html#ad809a77e5715e490a7e5f95c8611737e">geos::geom::Coordinate::x</a></div><div class="ttdeci">double x</div><div class="ttdoc">x-coordinate </div><div class="ttdef"><b>Definition:</b> <a href="Coordinate_8h_source.html#l00080">Coordinate.h:80</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Envelope_html_a43e86d16444062bed0033817dee15ccc"><div class="ttname"><a href="classgeos_1_1geom_1_1Envelope.html#a43e86d16444062bed0033817dee15ccc">geos::geom::Envelope::miny</a></div><div class="ttdeci">double miny</div><div class="ttdoc">the minimum y-coordinate </div><div class="ttdef"><b>Definition:</b> <a href="Envelope_8h_source.html#l00520">Envelope.h:520</a></div></div>
<div class="ttc" id="namespacegeos_1_1geom_html_aa3ab17cfa95af46ea53ac92482041d76"><div class="ttname"><a href="namespacegeos_1_1geom.html#aa3ab17cfa95af46ea53ac92482041d76">geos::geom::operator==</a></div><div class="ttdeci">bool operator==(const Coordinate &amp;a, const Coordinate &amp;b)</div><div class="ttdoc">Equality operator for Coordinate. 2D only. </div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Envelope_html_af8676db4413f6950ab5b6757bd5aed58"><div class="ttname"><a href="classgeos_1_1geom_1_1Envelope.html#af8676db4413f6950ab5b6757bd5aed58">geos::geom::Envelope::maxx</a></div><div class="ttdeci">double maxx</div><div class="ttdoc">the maximum x-coordinate </div><div class="ttdef"><b>Definition:</b> <a href="Envelope_8h_source.html#l00517">Envelope.h:517</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Envelope_html_a94b1680f3989be08caaae19a1d0844d1"><div class="ttname"><a href="classgeos_1_1geom_1_1Envelope.html#a94b1680f3989be08caaae19a1d0844d1">geos::geom::Envelope::expandBy</a></div><div class="ttdeci">void expandBy(double p_distance)</div><div class="ttdoc">Expands this envelope by a given distance in all directions. </div><div class="ttdef"><b>Definition:</b> <a href="Envelope_8h_source.html#l00286">Envelope.h:286</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>