geos_390_docs/classgeos_1_1noding_1_1snap...

388 lines
20 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::noding::snapround::HotPixelIndex 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
&#160;<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&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;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&#160;List</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;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_1noding.html">noding</a></li><li class="navelem"><a class="el" href="namespacegeos_1_1noding_1_1snapround.html">snapround</a></li><li class="navelem"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixelIndex.html">HotPixelIndex</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classgeos_1_1noding_1_1snapround_1_1HotPixelIndex-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">geos::noding::snapround::HotPixelIndex Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="HotPixelIndex_8h_source.html">HotPixelIndex.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for geos::noding::snapround::HotPixelIndex:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1noding_1_1snapround_1_1HotPixelIndex__coll__graph.svg" width="214" 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:ad723eb9609f7dc9692ef82db36983f20"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixelIndex.html#ad723eb9609f7dc9692ef82db36983f20">HotPixelIndex</a> (const <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html">geom::PrecisionModel</a> *p_pm)</td></tr>
<tr class="separator:ad723eb9609f7dc9692ef82db36983f20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1142c7699025bec290951462a8f63e0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html">HotPixel</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixelIndex.html#ab1142c7699025bec290951462a8f63e0">add</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;pt)</td></tr>
<tr class="separator:ab1142c7699025bec290951462a8f63e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1eab745868e4507e73aba8d9eba4921"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixelIndex.html#ab1eab745868e4507e73aba8d9eba4921">add</a> (const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> *pts)</td></tr>
<tr class="separator:ab1eab745868e4507e73aba8d9eba4921"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fde15ebcf72223b7e8461625f4e1bd0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixelIndex.html#a0fde15ebcf72223b7e8461625f4e1bd0">add</a> (const std::vector&lt; <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &gt; &amp;pts)</td></tr>
<tr class="separator:a0fde15ebcf72223b7e8461625f4e1bd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44554cd54ffb0844935f8b5d91158e28"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixelIndex.html#a44554cd54ffb0844935f8b5d91158e28">addNodes</a> (const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> *pts)</td></tr>
<tr class="separator:a44554cd54ffb0844935f8b5d91158e28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92bf6dace87e7a2ece19cdbf29d1ddef"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixelIndex.html#a92bf6dace87e7a2ece19cdbf29d1ddef">addNodes</a> (const std::vector&lt; <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &gt; &amp;pts)</td></tr>
<tr class="separator:a92bf6dace87e7a2ece19cdbf29d1ddef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe6c4c64172c63c413517d6cc93687bb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixelIndex.html#afe6c4c64172c63c413517d6cc93687bb">query</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;p0, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;p1, <a class="el" href="classgeos_1_1index_1_1kdtree_1_1KdNodeVisitor.html">index::kdtree::KdNodeVisitor</a> &amp;visitor)</td></tr>
<tr class="separator:afe6c4c64172c63c413517d6cc93687bb"><td class="memSeparator" colspan="2">&#160;</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:ab715b3610caeaf8843d27926b19a7a61"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixelIndex.html#ab715b3610caeaf8843d27926b19a7a61">round</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;c)</td></tr>
<tr class="separator:ab715b3610caeaf8843d27926b19a7a61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd2eef0bfeacb02cf95d447445746006"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html">HotPixel</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixelIndex.html#acd2eef0bfeacb02cf95d447445746006">find</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;pixelPt)</td></tr>
<tr class="separator:acd2eef0bfeacb02cf95d447445746006"><td class="memSeparator" colspan="2">&#160;</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:a4cb68a95d9dfad789776a1c57a635e7a"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html">geom::PrecisionModel</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixelIndex.html#a4cb68a95d9dfad789776a1c57a635e7a">pm</a></td></tr>
<tr class="separator:a4cb68a95d9dfad789776a1c57a635e7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcb7fb90cf322ae87485b6f35649725f"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixelIndex.html#abcb7fb90cf322ae87485b6f35649725f">scaleFactor</a></td></tr>
<tr class="separator:abcb7fb90cf322ae87485b6f35649725f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18d6239a31fff968d190568352b67853"><td class="memItemLeft" align="right" valign="top">std::unique_ptr&lt; <a class="el" href="classgeos_1_1index_1_1kdtree_1_1KdTree.html">geos::index::kdtree::KdTree</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixelIndex.html#a18d6239a31fff968d190568352b67853">index</a></td></tr>
<tr class="separator:a18d6239a31fff968d190568352b67853"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d3968b3499695120a6cee82c70e9918"><td class="memItemLeft" align="right" valign="top">std::deque&lt; <a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html">HotPixel</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixelIndex.html#a5d3968b3499695120a6cee82c70e9918">hotPixelQue</a></td></tr>
<tr class="separator:a5d3968b3499695120a6cee82c70e9918"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="HotPixelIndex_8h_source.html#l00059">59</a> of file <a class="el" href="HotPixelIndex_8h_source.html">HotPixelIndex.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ad723eb9609f7dc9692ef82db36983f20"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">geos::noding::snapround::HotPixelIndex::HotPixelIndex </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html">geom::PrecisionModel</a> *&#160;</td>
<td class="paramname"><em>p_pm</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ab1142c7699025bec290951462a8f63e0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html">HotPixel</a>* geos::noding::snapround::HotPixelIndex::add </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;&#160;</td>
<td class="paramname"><em>pt</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ab1eab745868e4507e73aba8d9eba4921"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void geos::noding::snapround::HotPixelIndex::add </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> *&#160;</td>
<td class="paramname"><em>pts</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a0fde15ebcf72223b7e8461625f4e1bd0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void geos::noding::snapround::HotPixelIndex::add </td>
<td>(</td>
<td class="paramtype">const std::vector&lt; <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>pts</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a44554cd54ffb0844935f8b5d91158e28"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void geos::noding::snapround::HotPixelIndex::addNodes </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> *&#160;</td>
<td class="paramname"><em>pts</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a92bf6dace87e7a2ece19cdbf29d1ddef"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void geos::noding::snapround::HotPixelIndex::addNodes </td>
<td>(</td>
<td class="paramtype">const std::vector&lt; <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>pts</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="acd2eef0bfeacb02cf95d447445746006"></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_1noding_1_1snapround_1_1HotPixel.html">HotPixel</a>* geos::noding::snapround::HotPixelIndex::find </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;&#160;</td>
<td class="paramname"><em>pixelPt</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="afe6c4c64172c63c413517d6cc93687bb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void geos::noding::snapround::HotPixelIndex::query </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;&#160;</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> &amp;&#160;</td>
<td class="paramname"><em>p1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classgeos_1_1index_1_1kdtree_1_1KdNodeVisitor.html">index::kdtree::KdNodeVisitor</a> &amp;&#160;</td>
<td class="paramname"><em>visitor</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Visits all the hot pixels which may intersect a segment (p0-p1). The visitor must determine whether each hot pixel actually intersects the segment. </p>
</div>
</div>
<a class="anchor" id="ab715b3610caeaf8843d27926b19a7a61"></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_1geom_1_1Coordinate.html">geom::Coordinate</a> geos::noding::snapround::HotPixelIndex::round </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;&#160;</td>
<td class="paramname"><em>c</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>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a5d3968b3499695120a6cee82c70e9918"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::deque&lt;<a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html">HotPixel</a>&gt; geos::noding::snapround::HotPixelIndex::hotPixelQue</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="HotPixelIndex_8h_source.html#l00067">67</a> of file <a class="el" href="HotPixelIndex_8h_source.html">HotPixelIndex.h</a>.</p>
</div>
</div>
<a class="anchor" id="a18d6239a31fff968d190568352b67853"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::unique_ptr&lt;<a class="el" href="classgeos_1_1index_1_1kdtree_1_1KdTree.html">geos::index::kdtree::KdTree</a>&gt; geos::noding::snapround::HotPixelIndex::index</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="HotPixelIndex_8h_source.html#l00066">66</a> of file <a class="el" href="HotPixelIndex_8h_source.html">HotPixelIndex.h</a>.</p>
</div>
</div>
<a class="anchor" id="a4cb68a95d9dfad789776a1c57a635e7a"></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_1PrecisionModel.html">geom::PrecisionModel</a>* geos::noding::snapround::HotPixelIndex::pm</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="HotPixelIndex_8h_source.html#l00064">64</a> of file <a class="el" href="HotPixelIndex_8h_source.html">HotPixelIndex.h</a>.</p>
</div>
</div>
<a class="anchor" id="abcb7fb90cf322ae87485b6f35649725f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double geos::noding::snapround::HotPixelIndex::scaleFactor</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="HotPixelIndex_8h_source.html#l00065">65</a> of file <a class="el" href="HotPixelIndex_8h_source.html">HotPixelIndex.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="HotPixelIndex_8h_source.html">HotPixelIndex.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>