geos_390_docs/Rectangle_8h_source.html

84 lines
38 KiB
HTML
Raw 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: Rectangle.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_cc91dd2a378845bf7e3e6edb554afff8.html">operation</a></li><li class="navelem"><a class="el" href="dir_01fd903a2cfb74b790d35b57f102aed3.html">intersection</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">Rectangle.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="Rectangle_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) 2014 Mika Heiskanen &lt;mika.heiskanen@fmi.fi&gt;</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;</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#ifndef GEOS_OP_INTERSECTION_RECTANGLE_H</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#define GEOS_OP_INTERSECTION_RECTANGLE_H</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</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="l00019"></a><span class="lineno"> 19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#ifdef _MSC_VER</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#pragma warning(push)</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="comment">// Forward declarations</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacegeos.html">geos</a> {</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="keyword">namespace </span>geom {</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="keyword">class </span>GeometryFactory;</div><div
<div class="ttc" id="classgeos_1_1operation_1_1intersection_1_1Rectangle_html_a77d9664db7d45ef3a8559ef3cb653042"><div class="ttname"><a href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html#a77d9664db7d45ef3a8559ef3cb653042">geos::operation::intersection::Rectangle::yMin</a></div><div class="ttdeci">double yMin</div><div class="ttdef"><b>Definition:</b> <a href="Rectangle_8h_source.html#l00227">Rectangle.h:227</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_1operation_1_1intersection_1_1Rectangle_html_a87d5674171357305fb2599e80b6c96fc"><div class="ttname"><a href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html#a87d5674171357305fb2599e80b6c96fc">geos::operation::intersection::Rectangle::ymax</a></div><div class="ttdeci">double ymax() const </div><div class="ttdef"><b>Definition:</b> <a href="Rectangle_8h_source.html#l00102">Rectangle.h:102</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_1operation_1_1intersection_1_1Rectangle_html_aa2b60d016a4153e8f5b2b9aca5ba8f1a"><div class="ttname"><a href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html#aa2b60d016a4153e8f5b2b9aca5ba8f1a">geos::operation::intersection::Rectangle::onSameEdge</a></div><div class="ttdeci">static bool onSameEdge(Position pos1, Position pos2)</div><div class="ttdoc">Test if the given positions are on the same Rectangle edge. </div><div class="ttdef"><b>Definition:</b> <a href="Rectangle_8h_source.html#l00155">Rectangle.h:155</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1intersection_1_1Rectangle_html_a40a4b9b3586403272feb01c4fc2fdb8d"><div class="ttname"><a href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html#a40a4b9b3586403272feb01c4fc2fdb8d">geos::operation::intersection::Rectangle::xMin</a></div><div class="ttdeci">double xMin</div><div class="ttdef"><b>Definition:</b> <a href="Rectangle_8h_source.html#l00226">Rectangle.h:226</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1intersection_1_1Rectangle_html_a77facc8dce2b41887d11f35e660fb463"><div class="ttname"><a href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html#a77facc8dce2b41887d11f35e660fb463">geos::operation::intersection::Rectangle::onEdge</a></div><div class="ttdeci">static bool onEdge(Position pos)</div><div class="ttdoc">Test if the given position is on a Rectangle edge. </div><div class="ttdef"><b>Definition:</b> <a href="Rectangle_8h_source.html#l00142">Rectangle.h:142</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1intersection_1_1Rectangle_html_a1189ddf34745aec6b1fc50a218dafe12"><div class="ttname"><a href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html#a1189ddf34745aec6b1fc50a218dafe12">geos::operation::intersection::Rectangle::position</a></div><div class="ttdeci">Position position(double x, double y) const </div><div class="ttdoc">Establish position of coordinate with respect to a Rectangle. </div><div class="ttdef"><b>Definition:</b> <a href="Rectangle_8h_source.html#l00168">Rectangle.h:168</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Polygon_html"><div class="ttname"><a href="classgeos_1_1geom_1_1Polygon.html">geos::geom::Polygon</a></div><div class="ttdoc">Represents a linear polygon, which may include holes. </div><div class="ttdef"><b>Definition:</b> <a href="Polygon_8h_source.html#l00064">Polygon.h:64</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1GeometryFactory_html"><div class="ttname"><a href="classgeos_1_1geom_1_1GeometryFactory.html">geos::geom::GeometryFactory</a></div><div class="ttdoc">Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...</div><div class="ttdef"><b>Definition:</b> <a href="GeometryFactory_8h_source.html#l00068">GeometryFactory.h:68</a></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_1operation_1_1intersection_1_1Rectangle_html_a58ded076e8a4b5c63c7a7bda9b341e85"><div class="ttname"><a href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html#a58ded076e8a4b5c63c7a7bda9b341e85">geos::operation::intersection::Rectangle::xMax</a></div><div class="ttdeci">double xMax</div><div class="ttdef"><b>Definition:</b> <a href="Rectangle_8h_source.html#l00228">Rectangle.h:228</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1intersection_1_1Rectangle_html_ac456ee3b1edf3996072d5b16d84150dc"><div class="ttname"><a href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html#ac456ee3b1edf3996072d5b16d84150dc">geos::operation::intersection::Rectangle::Position</a></div><div class="ttdeci">Position</div><div class="ttdoc">Position with respect to a clipping rectangle. </div><div class="ttdef"><b>Definition:</b> <a href="Rectangle_8h_source.html#l00120">Rectangle.h:120</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1LinearRing_html"><div class="ttname"><a href="classgeos_1_1geom_1_1LinearRing.html">geos::geom::LinearRing</a></div><div class="ttdoc">Models an OGC SFS LinearRing. A LinearRing is a LineString which is both closed and simple...</div><div class="ttdef"><b>Definition:</b> <a href="LinearRing_8h_source.html#l00054">LinearRing.h:54</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1intersection_1_1Rectangle_html_ae5751bc8bd4ebfb979bf73211d59e02c"><div class="ttname"><a href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html#ae5751bc8bd4ebfb979bf73211d59e02c">geos::operation::intersection::Rectangle::ymin</a></div><div class="ttdeci">double ymin() const </div><div class="ttdef"><b>Definition:</b> <a href="Rectangle_8h_source.html#l00080">Rectangle.h:80</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1intersection_1_1Rectangle_html_ab986e3d06cdda728e85751743b657fed"><div class="ttname"><a href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html#ab986e3d06cdda728e85751743b657fed">geos::operation::intersection::Rectangle::yMax</a></div><div class="ttdeci">double yMax</div><div class="ttdef"><b>Definition:</b> <a href="Rectangle_8h_source.html#l00229">Rectangle.h:229</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1intersection_1_1Rectangle_html"><div class="ttname"><a href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html">geos::operation::intersection::Rectangle</a></div><div class="ttdoc">Clipping rectangle. </div><div class="ttdef"><b>Definition:</b> <a href="Rectangle_8h_source.html#l00051">Rectangle.h:51</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1intersection_1_1Rectangle_html_aa5b87d939c6f5e1d580b828fdcfcdd8a"><div class="ttname"><a href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html#aa5b87d939c6f5e1d580b828fdcfcdd8a">geos::operation::intersection::Rectangle::xmin</a></div><div class="ttdeci">double xmin() const </div><div class="ttdef"><b>Definition:</b> <a href="Rectangle_8h_source.html#l00070">Rectangle.h:70</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1intersection_1_1Rectangle_html_ab7463dc82a25f081d33c91de7e937ce0"><div class="ttname"><a href="classgeos_1_1operation_1_1intersection_1_1Rectangle.html#ab7463dc82a25f081d33c91de7e937ce0">geos::operation::intersection::Rectangle::xmax</a></div><div class="ttdeci">double xmax() const </div><div class="ttdef"><b>Definition:</b> <a href="Rectangle_8h_source.html#l00091">Rectangle.h:91</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>