381 lines
22 KiB
HTML
381 lines
22 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::algorithm::locate::SimplePointInAreaLocator 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_1algorithm.html">algorithm</a></li><li class="navelem"><a class="el" href="namespacegeos_1_1algorithm_1_1locate.html">locate</a></li><li class="navelem"><a class="el" href="classgeos_1_1algorithm_1_1locate_1_1SimplePointInAreaLocator.html">SimplePointInAreaLocator</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-static-methods">Static Private Member Functions</a> |
|
||
|
<a href="#pri-attribs">Private Attributes</a> |
|
||
|
<a href="classgeos_1_1algorithm_1_1locate_1_1SimplePointInAreaLocator-members.html">List of all members</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">geos::algorithm::locate::SimplePointInAreaLocator Class Reference</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
|
||
|
<p>Computes the location of points relative to a polygonal <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>, using a simple <code>O(n)</code> algorithm.
|
||
|
<a href="classgeos_1_1algorithm_1_1locate_1_1SimplePointInAreaLocator.html#details">More...</a></p>
|
||
|
|
||
|
<p><code>#include <<a class="el" href="SimplePointInAreaLocator_8h_source.html">SimplePointInAreaLocator.h</a>></code></p>
|
||
|
<div class="dynheader">
|
||
|
Inheritance diagram for geos::algorithm::locate::SimplePointInAreaLocator:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1algorithm_1_1locate_1_1SimplePointInAreaLocator__inherit__graph.svg" width="210" 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>
|
||
|
<div class="dynheader">
|
||
|
Collaboration diagram for geos::algorithm::locate::SimplePointInAreaLocator:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="classgeos_1_1algorithm_1_1locate_1_1SimplePointInAreaLocator__coll__graph.svg" width="100%" height="431"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||
|
</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:aae56452c8ecd4f5d1264102d9f2282d0"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1locate_1_1SimplePointInAreaLocator.html#aae56452c8ecd4f5d1264102d9f2282d0">SimplePointInAreaLocator</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *p_g)</td></tr>
|
||
|
<tr class="separator:aae56452c8ecd4f5d1264102d9f2282d0"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a1b80826dc303fd2e27db59339b25f11b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacegeos_1_1geom.html#ae55a225cd843a6b153a7b6ca5a4707c8">geom::Location</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1locate_1_1SimplePointInAreaLocator.html#a1b80826dc303fd2e27db59339b25f11b">locate</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> *p) override</td></tr>
|
||
|
<tr class="separator:a1b80826dc303fd2e27db59339b25f11b"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="inherit_header pub_methods_classgeos_1_1algorithm_1_1locate_1_1PointOnGeometryLocator"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classgeos_1_1algorithm_1_1locate_1_1PointOnGeometryLocator')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classgeos_1_1algorithm_1_1locate_1_1PointOnGeometryLocator.html">geos::algorithm::locate::PointOnGeometryLocator</a></td></tr>
|
||
|
<tr class="memitem:a42638ca7c44b96590848fd726941d800 inherit pub_methods_classgeos_1_1algorithm_1_1locate_1_1PointOnGeometryLocator"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1locate_1_1PointOnGeometryLocator.html#a42638ca7c44b96590848fd726941d800">~PointOnGeometryLocator</a> ()</td></tr>
|
||
|
<tr class="separator:a42638ca7c44b96590848fd726941d800 inherit pub_methods_classgeos_1_1algorithm_1_1locate_1_1PointOnGeometryLocator"><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:a7b8d66c67c74550c0d49edab6ea3a954"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacegeos_1_1geom.html#ae55a225cd843a6b153a7b6ca5a4707c8">geom::Location</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1locate_1_1SimplePointInAreaLocator.html#a7b8d66c67c74550c0d49edab6ea3a954">locate</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p, const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom)</td></tr>
|
||
|
<tr class="separator:a7b8d66c67c74550c0d49edab6ea3a954"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a800f2b81da5d3b5955893210e54c8889"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacegeos_1_1geom.html#ae55a225cd843a6b153a7b6ca5a4707c8">geom::Location</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1locate_1_1SimplePointInAreaLocator.html#a800f2b81da5d3b5955893210e54c8889">locatePointInPolygon</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p, const <a class="el" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a> *poly)</td></tr>
|
||
|
<tr class="memdesc:a800f2b81da5d3b5955893210e54c8889"><td class="mdescLeft"> </td><td class="mdescRight">Determines the Location of a point in a <a class="el" href="classgeos_1_1geom_1_1Polygon.html">Polygon</a>. <a href="#a800f2b81da5d3b5955893210e54c8889">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a800f2b81da5d3b5955893210e54c8889"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:adde257165e9463dd80362c213490cd6b"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1locate_1_1SimplePointInAreaLocator.html#adde257165e9463dd80362c213490cd6b">isContained</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p, const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom)</td></tr>
|
||
|
<tr class="memdesc:adde257165e9463dd80362c213490cd6b"><td class="mdescLeft"> </td><td class="mdescRight">Determines whether a point is contained in a <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>, or lies on its boundary. <a href="#adde257165e9463dd80362c213490cd6b">More...</a><br /></td></tr>
|
||
|
<tr class="separator:adde257165e9463dd80362c213490cd6b"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-methods"></a>
|
||
|
Static Private Member Functions</h2></td></tr>
|
||
|
<tr class="memitem:aa9557b6e2d38b73843567e1f4b17a94d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacegeos_1_1geom.html#ae55a225cd843a6b153a7b6ca5a4707c8">geom::Location</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1locate_1_1SimplePointInAreaLocator.html#aa9557b6e2d38b73843567e1f4b17a94d">locateInGeometry</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p, const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom)</td></tr>
|
||
|
<tr class="separator:aa9557b6e2d38b73843567e1f4b17a94d"><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:a0bb881bd007661d365616f053eb1d85a"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1locate_1_1SimplePointInAreaLocator.html#a0bb881bd007661d365616f053eb1d85a">g</a></td></tr>
|
||
|
<tr class="separator:a0bb881bd007661d365616f053eb1d85a"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<div class="textblock"><p>Computes the location of points relative to a polygonal <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>, using a simple <code>O(n)</code> algorithm. </p>
|
||
|
<p>The algorithm used reports if a point lies in the interior, exterior, or exactly on the boundary of the Geometry.</p>
|
||
|
<p>Instance methods are provided to implement the interface <code>PointInAreaLocator</code>. However, they provide no performance advantage over the class methods.</p>
|
||
|
<p>This algorithm is suitable for use in cases where only a few points will be tested. If many points will be tested, <a class="el" href="classgeos_1_1algorithm_1_1locate_1_1IndexedPointInAreaLocator.html" title="Determines the location of Coordinates relative to an areal geometry, using indexing for efficiency...">IndexedPointInAreaLocator</a> may provide better performance. </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="SimplePointInAreaLocator_8h_source.html#l00047">47</a> of file <a class="el" href="SimplePointInAreaLocator_8h_source.html">SimplePointInAreaLocator.h</a>.</p>
|
||
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||
|
<a class="anchor" id="aae56452c8ecd4f5d1264102d9f2282d0"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::algorithm::locate::SimplePointInAreaLocator::SimplePointInAreaLocator </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>p_g</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>Definition at line <a class="el" href="SimplePointInAreaLocator_8h_source.html#l00091">91</a> of file <a class="el" href="SimplePointInAreaLocator_8h_source.html">SimplePointInAreaLocator.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Function Documentation</h2>
|
||
|
<a class="anchor" id="adde257165e9463dd80362c213490cd6b"></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::algorithm::locate::SimplePointInAreaLocator::isContained </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>p</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>geom</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">static</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Determines whether a point is contained in a <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>, or lies on its boundary. </p>
|
||
|
<p>This is a convenience method for </p><pre class="fragment"> Location::EXTERIOR != locate(p, geom)
|
||
|
</pre><dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">p</td><td>the point to test </td></tr>
|
||
|
<tr><td class="paramname">geom</td><td>the geometry to test </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>true if the point lies in or on the geometry </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a7b8d66c67c74550c0d49edab6ea3a954"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static <a class="el" href="namespacegeos_1_1geom.html#ae55a225cd843a6b153a7b6ca5a4707c8">geom::Location</a> geos::algorithm::locate::SimplePointInAreaLocator::locate </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>p</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>geom</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">static</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a1b80826dc303fd2e27db59339b25f11b"></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="namespacegeos_1_1geom.html#ae55a225cd843a6b153a7b6ca5a4707c8">geom::Location</a> geos::algorithm::locate::SimplePointInAreaLocator::locate </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>p</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Determines the <a class="el" href="namespacegeos_1_1geom.html#ae55a225cd843a6b153a7b6ca5a4707c8">Location</a> of a point in an areal <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>.</p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">p</td><td>the point to test </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>the location of the point in the geometry </dd></dl>
|
||
|
|
||
|
<p>Implements <a class="el" href="classgeos_1_1algorithm_1_1locate_1_1PointOnGeometryLocator.html#a087b89fa4cd7ece8b07c8a8915523ca9">geos::algorithm::locate::PointOnGeometryLocator</a>.</p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="SimplePointInAreaLocator_8h_source.html#l00096">96</a> of file <a class="el" href="SimplePointInAreaLocator_8h_source.html">SimplePointInAreaLocator.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="aa9557b6e2d38b73843567e1f4b17a94d"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static <a class="el" href="namespacegeos_1_1geom.html#ae55a225cd843a6b153a7b6ca5a4707c8">geom::Location</a> geos::algorithm::locate::SimplePointInAreaLocator::locateInGeometry </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>p</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>geom</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">static</span><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a800f2b81da5d3b5955893210e54c8889"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static <a class="el" href="namespacegeos_1_1geom.html#ae55a225cd843a6b153a7b6ca5a4707c8">geom::Location</a> geos::algorithm::locate::SimplePointInAreaLocator::locatePointInPolygon </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>p</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></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>poly</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">static</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Determines the Location of a point in a <a class="el" href="classgeos_1_1geom_1_1Polygon.html">Polygon</a>. </p>
|
||
|
<p>The return value is one of:</p>
|
||
|
<ul>
|
||
|
<li><a class="el" href="namespacegeos_1_1geom.html#ae55a225cd843a6b153a7b6ca5a4707c8aff6036f8ea763cda3177ef14f633e396">geom::Location::INTERIOR</a> if the point is in the geometry interior</li>
|
||
|
<li><a class="el" href="namespacegeos_1_1geom.html#ae55a225cd843a6b153a7b6ca5a4707c8aa52f733b0e51d9a568fababbc8d3a518">geom::Location::BOUNDARY</a> if the point lies exactly on the boundary</li>
|
||
|
<li><a class="el" href="namespacegeos_1_1geom.html#ae55a225cd843a6b153a7b6ca5a4707c8a275ff52c0d43ea11e057b037be21d30e">geom::Location::EXTERIOR</a> if the point is outside the geometry</li>
|
||
|
</ul>
|
||
|
<p>Computes <code><a class="el" href="namespacegeos_1_1geom.html#ae55a225cd843a6b153a7b6ca5a4707c8aa52f733b0e51d9a568fababbc8d3a518">geom::Location::BOUNDARY</a></code> if the point lies exactly on the polygon boundary.</p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">p</td><td>the point to test </td></tr>
|
||
|
<tr><td class="paramname">poly</td><td>the geometry to test </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>the Location of the point in the polygon </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Data Documentation</h2>
|
||
|
<a class="anchor" id="a0bb881bd007661d365616f053eb1d85a"></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_1Geometry.html">geom::Geometry</a>* geos::algorithm::locate::SimplePointInAreaLocator::g</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="SimplePointInAreaLocator_8h_source.html#l00106">106</a> of file <a class="el" href="SimplePointInAreaLocator_8h_source.html">SimplePointInAreaLocator.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
||
|
<li><a class="el" href="SimplePointInAreaLocator_8h_source.html">SimplePointInAreaLocator.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>
|