Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 5035839f674c88dea1f7928a86fbdc64 > files > 969

geos-devel-3.2.1-3.fc14.x86_64.rpm

<!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::linearref::LocationIndexOfPoint 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&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;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&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath">
    <ul>
      <li><a class="el" href="namespacegeos.html">geos</a>      </li>
      <li><b>linearref</b>      </li>
      <li><a class="el" href="classgeos_1_1linearref_1_1LocationIndexOfPoint.html">geos::linearref::LocationIndexOfPoint</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>geos::linearref::LocationIndexOfPoint Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="geos::linearref::LocationIndexOfPoint" -->
<p><code>#include &lt;<a class="el" href="LocationIndexOfPoint_8h_source.html">LocationIndexOfPoint.h</a>&gt;</code></p>

<p><a href="classgeos_1_1linearref_1_1LocationIndexOfPoint-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"><a class="anchor" id="a399191cfe2192743f45f282ea91d71bf"></a><!-- doxytag: member="geos::linearref::LocationIndexOfPoint::LocationIndexOfPoint" ref="a399191cfe2192743f45f282ea91d71bf" args="(const geom::Geometry *linearGeom)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>LocationIndexOfPoint</b> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *linearGeom)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1linearref_1_1LocationIndexOfPoint.html#a73594c44b6d65205168467c1635a6d23">indexOf</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;inputPt) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1linearref_1_1LocationIndexOfPoint.html#a107518236ddbdb7463c1e4c99cd42428">indexOfAfter</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;inputPt, <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> *minIndex) const </td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a02a74fcef91895e29a08ba509950e95f"></a><!-- doxytag: member="geos::linearref::LocationIndexOfPoint::indexOf" ref="a02a74fcef91895e29a08ba509950e95f" args="(const geom::Geometry *linearGeom, const geom::Coordinate &amp;inputPt)" -->
static <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>indexOf</b> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *linearGeom, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;inputPt)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a182f48028205a4ef61727f264cc77219"></a><!-- doxytag: member="geos::linearref::LocationIndexOfPoint::indexOfAfter" ref="a182f48028205a4ef61727f264cc77219" args="(const geom::Geometry *linearGeom, const geom::Coordinate &amp;inputPt, LinearLocation *minIndex)" -->
static <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>indexOfAfter</b> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *linearGeom, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;inputPt, <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> *minIndex)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Computes the <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> of the point on a linear <a class="el" href="">Geometry</a> nearest a given <a class="el" href="">Coordinate</a>. The nearest point is not necessarily unique; this class always computes the nearest point closest to the start of the geometry. </p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a73594c44b6d65205168467c1635a6d23"></a><!-- doxytag: member="geos::linearref::LocationIndexOfPoint::indexOf" ref="a73594c44b6d65205168467c1635a6d23" args="(const geom::Coordinate &amp;inputPt) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> geos::linearref::LocationIndexOfPoint::indexOf </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>inputPt</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Find the nearest location along a linear <a class="el" href="">Geometry</a> to a given point.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>inputPt</em>&nbsp;</td><td>the coordinate to locate </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the location of the nearest point </dd></dl>

</div>
</div>
<a class="anchor" id="a107518236ddbdb7463c1e4c99cd42428"></a><!-- doxytag: member="geos::linearref::LocationIndexOfPoint::indexOfAfter" ref="a107518236ddbdb7463c1e4c99cd42428" args="(const geom::Coordinate &amp;inputPt, LinearLocation *minIndex) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> geos::linearref::LocationIndexOfPoint::indexOfAfter </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>inputPt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> *&nbsp;</td>
          <td class="paramname"> <em>minIndex</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Find the nearest <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a> along the linear <a class="el" href="">Geometry</a> to a given <a class="el" href="">Coordinate</a> after the specified minimum <a class="el" href="classgeos_1_1linearref_1_1LinearLocation.html">LinearLocation</a>. If possible the location returned will be strictly greater than the <code>minLocation</code>. If this is not possible, the value returned will equal <code>minLocation</code>. (An example where this is not possible is when minLocation = [end of line] ).</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>inputPt</em>&nbsp;</td><td>the coordinate to locate </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>minLocation</em>&nbsp;</td><td>the minimum location for the point location </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the location of the nearest point </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="LocationIndexOfPoint_8h_source.html">LocationIndexOfPoint.h</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Thu Jul 22 2010 for GEOS by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>