<!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"/> <title>GEOS: geos::algorithm::locate::IndexedPointInAreaLocator Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.1 --> <div class="navigation" id="top"> <div 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 class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"> <ul> <li><a class="el" href="namespacegeos.html">geos</a> </li> <li><a class="el" href="namespacegeos_1_1algorithm.html">algorithm</a> </li> <li><a class="el" href="namespacegeos_1_1algorithm_1_1locate.html">locate</a> </li> <li><a class="el" href="classgeos_1_1algorithm_1_1locate_1_1IndexedPointInAreaLocator.html">geos::algorithm::locate::IndexedPointInAreaLocator</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <h1>geos::algorithm::locate::IndexedPointInAreaLocator Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="geos::algorithm::locate::IndexedPointInAreaLocator" --><!-- doxytag: inherits="geos::algorithm::locate::PointOnGeometryLocator" --> <p>Determines the location of <a class="el" href="">Coordinate</a>s relative to a <a class="el" href="">Polygon</a> or <a class="el" href="">MultiPolygon</a> geometry, using indexing for efficiency. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="IndexedPointInAreaLocator_8h_source.html">IndexedPointInAreaLocator.h</a>></code></p> <div class="dynheader"> Inheritance diagram for geos::algorithm::locate::IndexedPointInAreaLocator:</div> <div class="dyncontent"> <div class="center"> <img src="classgeos_1_1algorithm_1_1locate_1_1IndexedPointInAreaLocator.png" usemap="#geos::algorithm::locate::IndexedPointInAreaLocator_map" alt=""/> <map id="geos::algorithm::locate::IndexedPointInAreaLocator_map" name="geos::algorithm::locate::IndexedPointInAreaLocator_map"> <area href="classgeos_1_1algorithm_1_1locate_1_1PointOnGeometryLocator.html" alt="geos::algorithm::locate::PointOnGeometryLocator" shape="rect" coords="0,0,295,24"/> </map> </div> <p><a href="classgeos_1_1algorithm_1_1locate_1_1IndexedPointInAreaLocator-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1locate_1_1IndexedPointInAreaLocator.html#a4354cd8b0102df695aa7d79e463110bc">IndexedPointInAreaLocator</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &g)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1locate_1_1IndexedPointInAreaLocator.html#aaa57047ca5e77314fa4f2683c3345053">locate</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> *p)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Determines the location of <a class="el" href="">Coordinate</a>s relative to a <a class="el" href="">Polygon</a> or <a class="el" href="">MultiPolygon</a> geometry, using indexing for efficiency. </p> <p>This algorithm is suitable for use in cases where many points will be tested against a given area.</p> <dl class="author"><dt><b>Author:</b></dt><dd>Martin Davis </dd></dl> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a4354cd8b0102df695aa7d79e463110bc"></a><!-- doxytag: member="geos::algorithm::locate::IndexedPointInAreaLocator::IndexedPointInAreaLocator" ref="a4354cd8b0102df695aa7d79e463110bc" args="(const geom::Geometry &g)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">geos::algorithm::locate::IndexedPointInAreaLocator::IndexedPointInAreaLocator </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>g</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Creates a new locator for a given <a class="el" href="">Geometry</a> </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>g</em> </td><td>the Geometry to locate in </td></tr> </table> </dd> </dl> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="aaa57047ca5e77314fa4f2683c3345053"></a><!-- doxytag: member="geos::algorithm::locate::IndexedPointInAreaLocator::locate" ref="aaa57047ca5e77314fa4f2683c3345053" args="(const geom::Coordinate *p)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int geos::algorithm::locate::IndexedPointInAreaLocator::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><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Determines the <a class="el" href="">Location</a> of a point in an areal <a class="el" href="">Geometry</a>.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>p</em> </td><td>the point to test </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></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#a7718314a6577970cd29a1725f10df199">geos::algorithm::locate::PointOnGeometryLocator</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="IndexedPointInAreaLocator_8h_source.html">IndexedPointInAreaLocator.h</a></li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Thu Jul 22 2010 for GEOS by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address> </body> </html>