464 lines
24 KiB
HTML
464 lines
24 KiB
HTML
|
<!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: geos::operation::predicate::RectangleContains Class Reference</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
|
||
|
 <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 Page</span></a></li>
|
||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
||
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div id="navrow2" class="tabs2">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
||
|
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
|
||
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div id="nav-path" class="navpath">
|
||
|
<ul>
|
||
|
<li class="navelem"><a class="el" href="namespacegeos.html">geos</a></li><li class="navelem"><a class="el" href="namespacegeos_1_1operation.html">operation</a></li><li class="navelem"><a class="el" href="namespacegeos_1_1operation_1_1predicate.html">predicate</a></li><li class="navelem"><a class="el" href="classgeos_1_1operation_1_1predicate_1_1RectangleContains.html">RectangleContains</a></li> </ul>
|
||
|
</div>
|
||
|
</div><!-- top -->
|
||
|
<div class="header">
|
||
|
<div class="summary">
|
||
|
<a href="#pub-methods">Public Member Functions</a> |
|
||
|
<a href="#pub-static-methods">Static Public Member Functions</a> |
|
||
|
<a href="#pri-methods">Private Member Functions</a> |
|
||
|
<a href="#pri-attribs">Private Attributes</a> |
|
||
|
<a href="classgeos_1_1operation_1_1predicate_1_1RectangleContains-members.html">List of all members</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">geos::operation::predicate::RectangleContains Class Reference</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
|
||
|
<p>Optimized implementation of spatial predicate "contains" for cases where the first Geometry is a rectangle.
|
||
|
<a href="classgeos_1_1operation_1_1predicate_1_1RectangleContains.html#details">More...</a></p>
|
||
|
|
||
|
<p><code>#include <<a class="el" href="RectangleContains_8h_source.html">RectangleContains.h</a>></code></p>
|
||
|
<div class="dynheader">
|
||
|
Collaboration diagram for geos::operation::predicate::RectangleContains:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1operation_1_1predicate_1_1RectangleContains__coll__graph.svg" width="199" height="147"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||
|
</div>
|
||
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
||
|
<table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||
|
Public Member Functions</h2></td></tr>
|
||
|
<tr class="memitem:a3c5c3b5906d99167a0f74cd1f3525710"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1predicate_1_1RectangleContains.html#a3c5c3b5906d99167a0f74cd1f3525710">RectangleContains</a> (const <a class="el" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a> &rect)</td></tr>
|
||
|
<tr class="separator:a3c5c3b5906d99167a0f74cd1f3525710"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:adc06150e6a141a8515d51d9236ad7761"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1predicate_1_1RectangleContains.html#adc06150e6a141a8515d51d9236ad7761">contains</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &geom)</td></tr>
|
||
|
<tr class="separator:adc06150e6a141a8515d51d9236ad7761"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a4788b82690e2f5f5a0bbcb0602c4b7ad"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1predicate_1_1RectangleContains.html#a4788b82690e2f5f5a0bbcb0602c4b7ad">RectangleContains</a> (const <a class="el" href="classgeos_1_1operation_1_1predicate_1_1RectangleContains.html">RectangleContains</a> &other)=delete</td></tr>
|
||
|
<tr class="separator:a4788b82690e2f5f5a0bbcb0602c4b7ad"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:acac480577999b8213f62af029f6232d5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1operation_1_1predicate_1_1RectangleContains.html">RectangleContains</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1predicate_1_1RectangleContains.html#acac480577999b8213f62af029f6232d5">operator=</a> (const <a class="el" href="classgeos_1_1operation_1_1predicate_1_1RectangleContains.html">RectangleContains</a> &rhs)=delete</td></tr>
|
||
|
<tr class="separator:acac480577999b8213f62af029f6232d5"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
|
||
|
Static Public Member Functions</h2></td></tr>
|
||
|
<tr class="memitem:a9aceb571e52730765a233ac06f7bf34c"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1predicate_1_1RectangleContains.html#a9aceb571e52730765a233ac06f7bf34c">contains</a> (const <a class="el" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a> &rect, const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &b)</td></tr>
|
||
|
<tr class="separator:a9aceb571e52730765a233ac06f7bf34c"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
|
||
|
Private Member Functions</h2></td></tr>
|
||
|
<tr class="memitem:a6ff188a7022713fa8fd3d284c7e8878f"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1predicate_1_1RectangleContains.html#a6ff188a7022713fa8fd3d284c7e8878f">isContainedInBoundary</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &geom)</td></tr>
|
||
|
<tr class="separator:a6ff188a7022713fa8fd3d284c7e8878f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a5369107cabed8a05a628f2a1cc21eaee"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1predicate_1_1RectangleContains.html#a5369107cabed8a05a628f2a1cc21eaee">isPointContainedInBoundary</a> (const <a class="el" href="classgeos_1_1geom_1_1Point.html">geom::Point</a> &geom)</td></tr>
|
||
|
<tr class="separator:a5369107cabed8a05a628f2a1cc21eaee"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a9dfb5bb9654b8afd8e4946250609a7d1"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1predicate_1_1RectangleContains.html#a9dfb5bb9654b8afd8e4946250609a7d1">isPointContainedInBoundary</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &pt)</td></tr>
|
||
|
<tr class="memdesc:a9dfb5bb9654b8afd8e4946250609a7d1"><td class="mdescLeft"> </td><td class="mdescRight">Tests if a point is contained in the boundary of the target rectangle. <a href="#a9dfb5bb9654b8afd8e4946250609a7d1">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a9dfb5bb9654b8afd8e4946250609a7d1"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a2d213577a647cf4d2a10fc5cd24428db"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1predicate_1_1RectangleContains.html#a2d213577a647cf4d2a10fc5cd24428db">isLineStringContainedInBoundary</a> (const <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a> &line)</td></tr>
|
||
|
<tr class="memdesc:a2d213577a647cf4d2a10fc5cd24428db"><td class="mdescLeft"> </td><td class="mdescRight">Tests if a linestring is completely contained in the boundary of the target rectangle. <a href="#a2d213577a647cf4d2a10fc5cd24428db">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a2d213577a647cf4d2a10fc5cd24428db"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a880620714211af3726a61f4a5d2c6292"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1predicate_1_1RectangleContains.html#a880620714211af3726a61f4a5d2c6292">isLineSegmentContainedInBoundary</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p0, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p1)</td></tr>
|
||
|
<tr class="memdesc:a880620714211af3726a61f4a5d2c6292"><td class="mdescLeft"> </td><td class="mdescRight">Tests if a line segment is contained in the boundary of the target rectangle. <a href="#a880620714211af3726a61f4a5d2c6292">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a880620714211af3726a61f4a5d2c6292"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
|
||
|
Private Attributes</h2></td></tr>
|
||
|
<tr class="memitem:a368a65b823f64a12f10279bd98ae5bf1"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">geom::Envelope</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1predicate_1_1RectangleContains.html#a368a65b823f64a12f10279bd98ae5bf1">rectEnv</a></td></tr>
|
||
|
<tr class="separator:a368a65b823f64a12f10279bd98ae5bf1"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<div class="textblock"><p>Optimized implementation of spatial predicate "contains" for cases where the first Geometry is a rectangle. </p>
|
||
|
<p>As a further optimization, this class can be used directly to test many geometries against a single rectangle. </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="RectangleContains_8h_source.html#l00051">51</a> of file <a class="el" href="RectangleContains_8h_source.html">RectangleContains.h</a>.</p>
|
||
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||
|
<a class="anchor" id="a3c5c3b5906d99167a0f74cd1f3525710"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::operation::predicate::RectangleContains::RectangleContains </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a> & </td>
|
||
|
<td class="paramname"><em>rect</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Create a new contains computer for two geometries.</p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">rect</td><td>a rectangular geometry </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="RectangleContains_8h_source.html#l00104">104</a> of file <a class="el" href="RectangleContains_8h_source.html">RectangleContains.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a4788b82690e2f5f5a0bbcb0602c4b7ad"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::operation::predicate::RectangleContains::RectangleContains </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1predicate_1_1RectangleContains.html">RectangleContains</a> & </td>
|
||
|
<td class="paramname"><em>other</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Function Documentation</h2>
|
||
|
<a class="anchor" id="a9aceb571e52730765a233ac06f7bf34c"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static bool geos::operation::predicate::RectangleContains::contains </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a> & </td>
|
||
|
<td class="paramname"><em>rect</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> & </td>
|
||
|
<td class="paramname"><em>b</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="RectangleContains_8h_source.html#l00093">93</a> of file <a class="el" href="RectangleContains_8h_source.html">RectangleContains.h</a>.</p>
|
||
|
|
||
|
<p>References <a class="el" href="RectangleContains_8h_source.html#l00093">contains()</a>.</p>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="RectangleContains_8h_source.html#l00093">contains()</a>.</p>
|
||
|
|
||
|
<p><div class="dynheader">
|
||
|
Here is the call graph for this function:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1operation_1_1predicate_1_1RectangleContains_a9aceb571e52730765a233ac06f7bf34c_cgraph.svg" width="224" height="79"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||
|
</div>
|
||
|
</div>
|
||
|
</p>
|
||
|
|
||
|
<p><div class="dynheader">
|
||
|
Here is the caller graph for this function:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1operation_1_1predicate_1_1RectangleContains_a9aceb571e52730765a233ac06f7bf34c_icgraph.svg" width="224" height="79"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||
|
</div>
|
||
|
</div>
|
||
|
</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="adc06150e6a141a8515d51d9236ad7761"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::operation::predicate::RectangleContains::contains </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> & </td>
|
||
|
<td class="paramname"><em>geom</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a6ff188a7022713fa8fd3d284c7e8878f"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::operation::predicate::RectangleContains::isContainedInBoundary </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> & </td>
|
||
|
<td class="paramname"><em>geom</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a880620714211af3726a61f4a5d2c6292"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::operation::predicate::RectangleContains::isLineSegmentContainedInBoundary </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p0</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p1</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Tests if a line segment is contained in the boundary of the target rectangle. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">p0</td><td>an endpoint of the segment </td></tr>
|
||
|
<tr><td class="paramname">p1</td><td>an endpoint of the segment </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>true if the line segment is contained in the boundary </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a2d213577a647cf4d2a10fc5cd24428db"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::operation::predicate::RectangleContains::isLineStringContainedInBoundary </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a> & </td>
|
||
|
<td class="paramname"><em>line</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Tests if a linestring is completely contained in the boundary of the target rectangle. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">line</td><td>the linestring to test </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>true if the linestring is contained in the boundary </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a5369107cabed8a05a628f2a1cc21eaee"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::operation::predicate::RectangleContains::isPointContainedInBoundary </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Point.html">geom::Point</a> & </td>
|
||
|
<td class="paramname"><em>geom</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a9dfb5bb9654b8afd8e4946250609a7d1"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::operation::predicate::RectangleContains::isPointContainedInBoundary </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>pt</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Tests if a point is contained in the boundary of the target rectangle. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">pt</td><td>the point to test </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>true if the point is contained in the boundary </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="acac480577999b8213f62af029f6232d5"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname"><a class="el" href="classgeos_1_1operation_1_1predicate_1_1RectangleContains.html">RectangleContains</a>& geos::operation::predicate::RectangleContains::operator= </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1predicate_1_1RectangleContains.html">RectangleContains</a> & </td>
|
||
|
<td class="paramname"><em>rhs</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Data Documentation</h2>
|
||
|
<a class="anchor" id="a368a65b823f64a12f10279bd98ae5bf1"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">geom::Envelope</a>& geos::operation::predicate::RectangleContains::rectEnv</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="RectangleContains_8h_source.html#l00055">55</a> of file <a class="el" href="RectangleContains_8h_source.html">RectangleContains.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
||
|
<li><a class="el" href="RectangleContains_8h_source.html">RectangleContains.h</a></li>
|
||
|
</ul>
|
||
|
</div><!-- contents -->
|
||
|
<!-- start footer part -->
|
||
|
<hr class="footer"/><address class="footer"><small>
|
||
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||
|
</a> 1.8.11
|
||
|
</small></address>
|
||
|
</body>
|
||
|
</html>
|