geos_390_docs/classgeos_1_1noding_1_1snap...

788 lines
36 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::HotPixel 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_1HotPixel.html">HotPixel</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="#pri-static-attribs">Static Private Attributes</a> &#124;
<a href="classgeos_1_1noding_1_1snapround_1_1HotPixel-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">geos::noding::snapround::HotPixel Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Implements a "hot pixel" as used in the Snap Rounding algorithm.
<a href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="HotPixel_8h_source.html">HotPixel.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for geos::noding::snapround::HotPixel:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1noding_1_1snapround_1_1HotPixel__coll__graph.svg" width="288" 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:a6fc2562aa6adcd937eeadb14cd93d266"><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_1HotPixel.html#a6fc2562aa6adcd937eeadb14cd93d266">getWidth</a> () const </td></tr>
<tr class="separator:a6fc2562aa6adcd937eeadb14cd93d266"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9407170068bb4b37104cd5fe29df8639"><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_1HotPixel.html#a9407170068bb4b37104cd5fe29df8639">getScaleFactor</a> () const </td></tr>
<tr class="separator:a9407170068bb4b37104cd5fe29df8639"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a207e82ebac2ef0201dae8b9b26c8d9f3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html#a207e82ebac2ef0201dae8b9b26c8d9f3">HotPixel</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;pt, double <a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html#ac94ac257998fa8f270bb794a83fd8542">scaleFactor</a>)</td></tr>
<tr class="separator:a207e82ebac2ef0201dae8b9b26c8d9f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad07c86000f662071ebc2ace9c43b318e"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html#ad07c86000f662071ebc2ace9c43b318e">getCoordinate</a> () const </td></tr>
<tr class="separator:ad07c86000f662071ebc2ace9c43b318e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6258371ef4eee2eac222ee9ca231502d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html#a6258371ef4eee2eac222ee9ca231502d">intersects</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) const </td></tr>
<tr class="separator:a6258371ef4eee2eac222ee9ca231502d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb0b0458a21f6f0352c1e842c10617ae"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html#abb0b0458a21f6f0352c1e842c10617ae">intersects</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;p) const </td></tr>
<tr class="separator:abb0b0458a21f6f0352c1e842c10617ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88b7f915bc7efe78e643bc4134cd2b6a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html#a88b7f915bc7efe78e643bc4134cd2b6a">isNode</a> () const </td></tr>
<tr class="separator:a88b7f915bc7efe78e643bc4134cd2b6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cd8dbd34281718367cacf5d71799392"><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_1HotPixel.html#a0cd8dbd34281718367cacf5d71799392">setToNode</a> ()</td></tr>
<tr class="separator:a0cd8dbd34281718367cacf5d71799392"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a076a366d5e7407505bdf2ecd5e1623cd"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html#a076a366d5e7407505bdf2ecd5e1623cd">operator&lt;&lt;</a> (std::ostream &amp;os)</td></tr>
<tr class="separator:a076a366d5e7407505bdf2ecd5e1623cd"><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:afca956c10cb8e9bc81b5ad71905aedda"><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_1HotPixel.html#afca956c10cb8e9bc81b5ad71905aedda">scaleRound</a> (double val) const </td></tr>
<tr class="separator:afca956c10cb8e9bc81b5ad71905aedda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6312e26c3fcac6657dea81e5788fef6e"><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_1HotPixel.html#a6312e26c3fcac6657dea81e5788fef6e">scale</a> (double val) const </td></tr>
<tr class="separator:a6312e26c3fcac6657dea81e5788fef6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a168e3cf9a734ec3aa4c647d542a2ba4d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html#a168e3cf9a734ec3aa4c647d542a2ba4d">intersectsPixelClosure</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) const </td></tr>
<tr class="separator:a168e3cf9a734ec3aa4c647d542a2ba4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15c3b9112a583ae8b3dee31f81d60cbf"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html#a15c3b9112a583ae8b3dee31f81d60cbf">intersectsScaled</a> (double p0x, double p0y, double p1x, double p1y) const </td></tr>
<tr class="separator:a15c3b9112a583ae8b3dee31f81d60cbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2f6ae46390c40793839f9e043aee830"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html#ab2f6ae46390c40793839f9e043aee830">HotPixel</a> (const <a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html">HotPixel</a> &amp;other)=delete</td></tr>
<tr class="separator:ab2f6ae46390c40793839f9e043aee830"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f433a847f3336674294d4a6171ccb33"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html">HotPixel</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html#a7f433a847f3336674294d4a6171ccb33">operator=</a> (const <a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html">HotPixel</a> &amp;rhs)=delete</td></tr>
<tr class="separator:a7f433a847f3336674294d4a6171ccb33"><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:a0068d626c7e0c942f824361e68761fbd"><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_1HotPixel.html#a0068d626c7e0c942f824361e68761fbd">originalPt</a></td></tr>
<tr class="separator:a0068d626c7e0c942f824361e68761fbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac94ac257998fa8f270bb794a83fd8542"><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_1HotPixel.html#ac94ac257998fa8f270bb794a83fd8542">scaleFactor</a></td></tr>
<tr class="separator:ac94ac257998fa8f270bb794a83fd8542"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a632ba96ee81603df9abeb8ce4b7a5694"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html#a632ba96ee81603df9abeb8ce4b7a5694">hpIsNode</a></td></tr>
<tr class="separator:a632ba96ee81603df9abeb8ce4b7a5694"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9aead6066037f845875a9dccfa006fc"><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_1HotPixel.html#ad9aead6066037f845875a9dccfa006fc">hpx</a></td></tr>
<tr class="separator:ad9aead6066037f845875a9dccfa006fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01a823c05f20096051a84334c6108916"><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_1HotPixel.html#a01a823c05f20096051a84334c6108916">hpy</a></td></tr>
<tr class="separator:a01a823c05f20096051a84334c6108916"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr class="memitem:af781bbce409724104d4c9e0770414237"><td class="memItemLeft" align="right" valign="top">static constexpr double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html#af781bbce409724104d4c9e0770414237">TOLERANCE</a> = 0.5</td></tr>
<tr class="separator:af781bbce409724104d4c9e0770414237"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae15b67f29ae5b4e5bb10fcefd1d3a71e"><td class="memItemLeft" align="right" valign="top">static constexpr int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html#ae15b67f29ae5b4e5bb10fcefd1d3a71e">UPPER_RIGHT</a> = 0</td></tr>
<tr class="separator:ae15b67f29ae5b4e5bb10fcefd1d3a71e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fb4ce83ed5b8cc64195c52f2cd17ab9"><td class="memItemLeft" align="right" valign="top">static constexpr int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html#a7fb4ce83ed5b8cc64195c52f2cd17ab9">UPPER_LEFT</a> = 1</td></tr>
<tr class="separator:a7fb4ce83ed5b8cc64195c52f2cd17ab9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8c72c24ad1c644518e3e47371da0321"><td class="memItemLeft" align="right" valign="top">static constexpr int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html#ae8c72c24ad1c644518e3e47371da0321">LOWER_LEFT</a> = 2</td></tr>
<tr class="separator:ae8c72c24ad1c644518e3e47371da0321"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad95660ed8c755ebf9effbbd5b5800519"><td class="memItemLeft" align="right" valign="top">static constexpr int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html#ad95660ed8c755ebf9effbbd5b5800519">LOWER_RIGHT</a> = 3</td></tr>
<tr class="separator:ad95660ed8c755ebf9effbbd5b5800519"><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>Implements a "hot pixel" as used in the Snap Rounding algorithm. </p>
<p>A hot pixel contains the interior of the tolerance square and the boundary minus the top and right segments.</p>
<p>The hot pixel operations are all computed in the integer domain to avoid rounding problems. </p>
<p>Definition at line <a class="el" href="HotPixel_8h_source.html#l00063">63</a> of file <a class="el" href="HotPixel_8h_source.html">HotPixel.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab2f6ae46390c40793839f9e043aee830"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">geos::noding::snapround::HotPixel::HotPixel </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html">HotPixel</a> &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a207e82ebac2ef0201dae8b9b26c8d9f3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">geos::noding::snapround::HotPixel::HotPixel </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>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>scaleFactor</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a new hot pixel.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pt</td><td>the coordinate at the centre of the pixel. Will be kept by reference, so make sure to keep it alive. </td></tr>
<tr><td class="paramname">scaleFactor</td><td>the scaleFactor determining the pixel size </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ad07c86000f662071ebc2ace9c43b318e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&amp; geos::noding::snapround::HotPixel::getCoordinate </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a9407170068bb4b37104cd5fe29df8639"></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::HotPixel::getScaleFactor </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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="HotPixel_8h_source.html#l00104">104</a> of file <a class="el" href="HotPixel_8h_source.html">HotPixel.h</a>.</p>
</div>
</div>
<a class="anchor" id="a6fc2562aa6adcd937eeadb14cd93d266"></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::HotPixel::getWidth </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Gets the width of the hot pixel in the original coordinate system. </p>
<p>Definition at line <a class="el" href="HotPixel_8h_source.html#l00102">102</a> of file <a class="el" href="HotPixel_8h_source.html">HotPixel.h</a>.</p>
</div>
</div>
<a class="anchor" id="a6258371ef4eee2eac222ee9ca231502d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool geos::noding::snapround::HotPixel::intersects </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>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Tests whether the line segment (p0-p1) intersects this hot pixel.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p0</td><td>the first coordinate of the line segment to test </td></tr>
<tr><td class="paramname">p1</td><td>the second coordinate of the line segment to test </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the line segment intersects this hot pixel </dd></dl>
</div>
</div>
<a class="anchor" id="abb0b0458a21f6f0352c1e842c10617ae"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool geos::noding::snapround::HotPixel::intersects </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>p</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Tests whether a coordinate lies in (intersects) this hot pixel.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">p</td><td>the coordinate to test </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the coordinate intersects this hot pixel </dd></dl>
</div>
</div>
<a class="anchor" id="a168e3cf9a734ec3aa4c647d542a2ba4d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool geos::noding::snapround::HotPixel::intersectsPixelClosure </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>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</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="a15c3b9112a583ae8b3dee31f81d60cbf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool geos::noding::snapround::HotPixel::intersectsScaled </td>
<td>(</td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>p0x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>p0y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>p1x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>p1y</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</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="a88b7f915bc7efe78e643bc4134cd2b6a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool geos::noding::snapround::HotPixel::isNode </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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="HotPixel_8h_source.html#l00139">139</a> of file <a class="el" href="HotPixel_8h_source.html">HotPixel.h</a>.</p>
</div>
</div>
<a class="anchor" id="a076a366d5e7407505bdf2ecd5e1623cd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::ostream&amp; geos::noding::snapround::HotPixel::operator&lt;&lt; </td>
<td>(</td>
<td class="paramtype">std::ostream &amp;&#160;</td>
<td class="paramname"><em>os</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a7f433a847f3336674294d4a6171ccb33"></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>&amp; geos::noding::snapround::HotPixel::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1noding_1_1snapround_1_1HotPixel.html">HotPixel</a> &amp;&#160;</td>
<td class="paramname"><em>rhs</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a6312e26c3fcac6657dea81e5788fef6e"></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::HotPixel::scale </td>
<td>(</td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>val</em></td><td>)</td>
<td> const</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="afca956c10cb8e9bc81b5ad71905aedda"></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::HotPixel::scaleRound </td>
<td>(</td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>val</em></td><td>)</td>
<td> const</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="a0cd8dbd34281718367cacf5d71799392"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void geos::noding::snapround::HotPixel::setToNode </td>
<td>(</td>
<td class="paramname"></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="HotPixel_8h_source.html#l00140">140</a> of file <a class="el" href="HotPixel_8h_source.html">HotPixel.h</a>.</p>
<p>References <a class="el" href="namespacegeos_1_1geom.html#a2031e0143940407ca589d3216cf0eb06">geos::geom::operator&lt;&lt;()</a>.</p>
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1noding_1_1snapround_1_1HotPixel_a0cd8dbd34281718367cacf5d71799392_cgraph.svg" width="416" height="55"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a632ba96ee81603df9abeb8ce4b7a5694"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool geos::noding::snapround::HotPixel::hpIsNode</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="HotPixel_8h_source.html#l00078">78</a> of file <a class="el" href="HotPixel_8h_source.html">HotPixel.h</a>.</p>
</div>
</div>
<a class="anchor" id="ad9aead6066037f845875a9dccfa006fc"></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::HotPixel::hpx</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="HotPixel_8h_source.html#l00081">81</a> of file <a class="el" href="HotPixel_8h_source.html">HotPixel.h</a>.</p>
</div>
</div>
<a class="anchor" id="a01a823c05f20096051a84334c6108916"></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::HotPixel::hpy</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="HotPixel_8h_source.html#l00082">82</a> of file <a class="el" href="HotPixel_8h_source.html">HotPixel.h</a>.</p>
</div>
</div>
<a class="anchor" id="ae8c72c24ad1c644518e3e47371da0321"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">constexpr int geos::noding::snapround::HotPixel::LOWER_LEFT = 2</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">
<p>Definition at line <a class="el" href="HotPixel_8h_source.html#l00071">71</a> of file <a class="el" href="HotPixel_8h_source.html">HotPixel.h</a>.</p>
</div>
</div>
<a class="anchor" id="ad95660ed8c755ebf9effbbd5b5800519"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">constexpr int geos::noding::snapround::HotPixel::LOWER_RIGHT = 3</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">
<p>Definition at line <a class="el" href="HotPixel_8h_source.html#l00072">72</a> of file <a class="el" href="HotPixel_8h_source.html">HotPixel.h</a>.</p>
</div>
</div>
<a class="anchor" id="a0068d626c7e0c942f824361e68761fbd"></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::HotPixel::originalPt</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="HotPixel_8h_source.html#l00074">74</a> of file <a class="el" href="HotPixel_8h_source.html">HotPixel.h</a>.</p>
</div>
</div>
<a class="anchor" id="ac94ac257998fa8f270bb794a83fd8542"></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::HotPixel::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="HotPixel_8h_source.html#l00075">75</a> of file <a class="el" href="HotPixel_8h_source.html">HotPixel.h</a>.</p>
</div>
</div>
<a class="anchor" id="af781bbce409724104d4c9e0770414237"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">constexpr double geos::noding::snapround::HotPixel::TOLERANCE = 0.5</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">
<p>Definition at line <a class="el" href="HotPixel_8h_source.html#l00067">67</a> of file <a class="el" href="HotPixel_8h_source.html">HotPixel.h</a>.</p>
</div>
</div>
<a class="anchor" id="a7fb4ce83ed5b8cc64195c52f2cd17ab9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">constexpr int geos::noding::snapround::HotPixel::UPPER_LEFT = 1</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">
<p>Definition at line <a class="el" href="HotPixel_8h_source.html#l00070">70</a> of file <a class="el" href="HotPixel_8h_source.html">HotPixel.h</a>.</p>
</div>
</div>
<a class="anchor" id="ae15b67f29ae5b4e5bb10fcefd1d3a71e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">constexpr int geos::noding::snapround::HotPixel::UPPER_RIGHT = 0</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">
<p>Definition at line <a class="el" href="HotPixel_8h_source.html#l00069">69</a> of file <a class="el" href="HotPixel_8h_source.html">HotPixel.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="HotPixel_8h_source.html">HotPixel.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>