Sophie

Sophie

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

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::noding::snapround::MCIndexPointSnapper 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><a class="el" href="namespacegeos_1_1noding.html">noding</a>      </li>
      <li><a class="el" href="namespacegeos_1_1noding_1_1snapround.html">snapround</a>      </li>
      <li><a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexPointSnapper.html">geos::noding::snapround::MCIndexPointSnapper</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::noding::snapround::MCIndexPointSnapper Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="geos::noding::snapround::MCIndexPointSnapper" -->
<p>"Snaps" all <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>s in a <a class="el" href="">SpatialIndex</a> containing <a class="el" href="">MonotoneChain</a>s to a given <a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html">HotPixel</a>.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="MCIndexPointSnapper_8h_source.html">MCIndexPointSnapper.h</a>&gt;</code></p>

<p><a href="classgeos_1_1noding_1_1snapround_1_1MCIndexPointSnapper-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="ae07d45ce9fbd2a568d7aa5288975a501"></a><!-- doxytag: member="geos::noding::snapround::MCIndexPointSnapper::MCIndexPointSnapper" ref="ae07d45ce9fbd2a568d7aa5288975a501" args="(index::SpatialIndex &amp;nIndex)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>MCIndexPointSnapper</b> (<a class="el" href="classgeos_1_1index_1_1SpatialIndex.html">index::SpatialIndex</a> &amp;nIndex)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexPointSnapper.html#a4905ba2892fe198d14ca41177afdb903">snap</a> (<a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html">HotPixel</a> &amp;hotPixel, <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> *parentEdge, unsigned int vertexIndex)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa598a2ad9b554aa939b8d83bd725e5f4"></a><!-- doxytag: member="geos::noding::snapround::MCIndexPointSnapper::snap" ref="aa598a2ad9b554aa939b8d83bd725e5f4" args="(HotPixel &amp;hotPixel)" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>snap</b> (<a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html">HotPixel</a> &amp;hotPixel)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>"Snaps" all <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>s in a <a class="el" href="">SpatialIndex</a> containing <a class="el" href="">MonotoneChain</a>s to a given <a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html">HotPixel</a>. </p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a4905ba2892fe198d14ca41177afdb903"></a><!-- doxytag: member="geos::noding::snapround::MCIndexPointSnapper::snap" ref="a4905ba2892fe198d14ca41177afdb903" args="(HotPixel &amp;hotPixel, SegmentString *parentEdge, unsigned int vertexIndex)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool geos::noding::snapround::MCIndexPointSnapper::snap </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html">HotPixel</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>hotPixel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> *&nbsp;</td>
          <td class="paramname"> <em>parentEdge</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>vertexIndex</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Snaps (nodes) all interacting segments to this hot pixel. The hot pixel may represent a vertex of an edge, in which case this routine uses the optimization of not noding the vertex itself</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hotPixel</em>&nbsp;</td><td>the hot pixel to snap to </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>parentEdge</em>&nbsp;</td><td>the edge containing the vertex, if applicable, or <code>null</code> </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>vertexIndex</em>&nbsp;</td><td>the index of the vertex, if applicable, or -1 </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if a node was added for this pixel </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="MCIndexPointSnapper_8h_source.html">MCIndexPointSnapper.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>