580 lines
33 KiB
HTML
580 lines
33 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::MCIndexSnapRounder 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
|
|
 <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 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 id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class 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_1MCIndexSnapRounder.html">MCIndexSnapRounder</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pri-methods">Private Member Functions</a> |
|
|
<a href="#pri-attribs">Private Attributes</a> |
|
|
<a href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">geos::noding::snapround::MCIndexSnapRounder Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Uses Snap Rounding to compute a rounded, fully noded arrangement from a set of <a class="el" href="classgeos_1_1noding_1_1SegmentString.html" title="An interface for classes which represent a sequence of contiguous line segments. ">SegmentString</a>.
|
|
<a href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="MCIndexSnapRounder_8h_source.html">MCIndexSnapRounder.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for geos::noding::snapround::MCIndexSnapRounder:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder__inherit__graph.svg" width="191" height="131"><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>
|
|
<div class="dynheader">
|
|
Collaboration diagram for geos::noding::snapround::MCIndexSnapRounder:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder__coll__graph.svg" width="611" height="255"><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:a4432341606f64a86d93bb504f094782f"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html#a4432341606f64a86d93bb504f094782f">MCIndexSnapRounder</a> (const <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html">geom::PrecisionModel</a> &nPm)</td></tr>
|
|
<tr class="separator:a4432341606f64a86d93bb504f094782f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5567bb5bbe8251c9d4f00a5411d3e2e6"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * > * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html#a5567bb5bbe8251c9d4f00a5411d3e2e6">getNodedSubstrings</a> () const override</td></tr>
|
|
<tr class="memdesc:a5567bb5bbe8251c9d4f00a5411d3e2e6"><td class="mdescLeft"> </td><td class="mdescRight">Returns a collection of fully noded <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentStrings</a>. The SegmentStrings have the same context as their parent. <a href="#a5567bb5bbe8251c9d4f00a5411d3e2e6">More...</a><br /></td></tr>
|
|
<tr class="separator:a5567bb5bbe8251c9d4f00a5411d3e2e6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae8a9000e13a2aa2284dfe8b969fd1ce9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html#ae8a9000e13a2aa2284dfe8b969fd1ce9">computeNodes</a> (std::vector< <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * > *segStrings) override</td></tr>
|
|
<tr class="memdesc:ae8a9000e13a2aa2284dfe8b969fd1ce9"><td class="mdescLeft"> </td><td class="mdescRight">Computes the noding for a collection of <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentStrings</a>. <a href="#ae8a9000e13a2aa2284dfe8b969fd1ce9">More...</a><br /></td></tr>
|
|
<tr class="separator:ae8a9000e13a2aa2284dfe8b969fd1ce9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a52a1791b34c8072a0bf699aa6d254257"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html#a52a1791b34c8072a0bf699aa6d254257">computeVertexSnaps</a> (std::vector< <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * > &edges)</td></tr>
|
|
<tr class="separator:a52a1791b34c8072a0bf699aa6d254257"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pub_methods_classgeos_1_1noding_1_1Noder"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classgeos_1_1noding_1_1Noder')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classgeos_1_1noding_1_1Noder.html">geos::noding::Noder</a></td></tr>
|
|
<tr class="memitem:a51af7a896051686b867d1e6aac6f8387 inherit pub_methods_classgeos_1_1noding_1_1Noder"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1Noder.html#a51af7a896051686b867d1e6aac6f8387">~Noder</a> ()</td></tr>
|
|
<tr class="separator:a51af7a896051686b867d1e6aac6f8387 inherit pub_methods_classgeos_1_1noding_1_1Noder"><td class="memSeparator" colspan="2"> </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:a1e9e705799c9dc11a22808fc5fe1d237"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html#a1e9e705799c9dc11a22808fc5fe1d237">snapRound</a> (<a class="el" href="classgeos_1_1noding_1_1MCIndexNoder.html">MCIndexNoder</a> &noder, std::vector< <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * > *segStrings)</td></tr>
|
|
<tr class="separator:a1e9e705799c9dc11a22808fc5fe1d237"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aed49302428c4ef9223ef65ce5c8effa2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html#aed49302428c4ef9223ef65ce5c8effa2">findInteriorIntersections</a> (<a class="el" href="classgeos_1_1noding_1_1MCIndexNoder.html">MCIndexNoder</a> &noder, std::vector< <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * > *segStrings, std::vector< <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> > &intersections)</td></tr>
|
|
<tr class="separator:aed49302428c4ef9223ef65ce5c8effa2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac728e5d7161ff8285aaa214b3fce510f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html#ac728e5d7161ff8285aaa214b3fce510f">computeIntersectionSnaps</a> (std::vector< <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> > &snapPts)</td></tr>
|
|
<tr class="separator:ac728e5d7161ff8285aaa214b3fce510f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9ce6f6ab3bffe4ad7841b4e8eefa7a2b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html#a9ce6f6ab3bffe4ad7841b4e8eefa7a2b">computeVertexSnaps</a> (<a class="el" href="classgeos_1_1noding_1_1NodedSegmentString.html">NodedSegmentString</a> *e)</td></tr>
|
|
<tr class="separator:a9ce6f6ab3bffe4ad7841b4e8eefa7a2b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0db5484a878399b31dfcc7533b1ee13e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html#a0db5484a878399b31dfcc7533b1ee13e">checkCorrectness</a> (std::vector< <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * > &inputSegmentStrings)</td></tr>
|
|
<tr class="separator:a0db5484a878399b31dfcc7533b1ee13e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1fbc18e093754e5e830fcaf199ed01fa"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html#a1fbc18e093754e5e830fcaf199ed01fa">MCIndexSnapRounder</a> (const <a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html">MCIndexSnapRounder</a> &other)=delete</td></tr>
|
|
<tr class="separator:a1fbc18e093754e5e830fcaf199ed01fa"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae1739d19dee3ed1480b52ac52762ed8b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html">MCIndexSnapRounder</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html#ae1739d19dee3ed1480b52ac52762ed8b">operator=</a> (const <a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html">MCIndexSnapRounder</a> &rhs)=delete</td></tr>
|
|
<tr class="separator:ae1739d19dee3ed1480b52ac52762ed8b"><td class="memSeparator" colspan="2"> </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:a46776b7f0c425ac048d92f644cb11b24"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html">geom::PrecisionModel</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html#a46776b7f0c425ac048d92f644cb11b24">pm</a></td></tr>
|
|
<tr class="memdesc:a46776b7f0c425ac048d92f644cb11b24"><td class="mdescLeft"> </td><td class="mdescRight">externally owned <a href="#a46776b7f0c425ac048d92f644cb11b24">More...</a><br /></td></tr>
|
|
<tr class="separator:a46776b7f0c425ac048d92f644cb11b24"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac6ddc351ffd431752937d0285f194c75"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1algorithm_1_1LineIntersector.html">algorithm::LineIntersector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html#ac6ddc351ffd431752937d0285f194c75">li</a></td></tr>
|
|
<tr class="separator:ac6ddc351ffd431752937d0285f194c75"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab01dd9b10c5ee0bfda35539fc1133a85"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html#ab01dd9b10c5ee0bfda35539fc1133a85">scaleFactor</a></td></tr>
|
|
<tr class="separator:ab01dd9b10c5ee0bfda35539fc1133a85"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad4117dd5df015c8b7a728a0c2b7d416a"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * > * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html#ad4117dd5df015c8b7a728a0c2b7d416a">nodedSegStrings</a></td></tr>
|
|
<tr class="separator:ad4117dd5df015c8b7a728a0c2b7d416a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae37aa2935f834eb86b1c1bdc2880acb8"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexPointSnapper.html">MCIndexPointSnapper</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html#ae37aa2935f834eb86b1c1bdc2880acb8">pointSnapper</a></td></tr>
|
|
<tr class="separator:ae37aa2935f834eb86b1c1bdc2880acb8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
|
|
Additional Inherited Members</h2></td></tr>
|
|
<tr class="inherit_header pro_methods_classgeos_1_1noding_1_1Noder"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classgeos_1_1noding_1_1Noder')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classgeos_1_1noding_1_1Noder.html">geos::noding::Noder</a></td></tr>
|
|
<tr class="memitem:a44ae3fde11fa58e6f3637ebd67f6571e inherit pro_methods_classgeos_1_1noding_1_1Noder"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1Noder.html#a44ae3fde11fa58e6f3637ebd67f6571e">Noder</a> ()</td></tr>
|
|
<tr class="separator:a44ae3fde11fa58e6f3637ebd67f6571e inherit pro_methods_classgeos_1_1noding_1_1Noder"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Uses Snap Rounding to compute a rounded, fully noded arrangement from a set of <a class="el" href="classgeos_1_1noding_1_1SegmentString.html" title="An interface for classes which represent a sequence of contiguous line segments. ">SegmentString</a>. </p>
|
|
<p>Implements the Snap Rounding technique described in Hobby, Guibas & Marimont, and Goodrich et al.</p>
|
|
<p>Snap Rounding assumes that all vertices lie on a uniform grid (hence the precision model of the input must be fixed precision, and all the input vertices must be rounded to that precision).</p>
|
|
<p>This implementation uses a monotone chains and a spatial index to speed up the intersection tests.</p>
|
|
<p>This implementation appears to be fully robust using an integer precision model.</p>
|
|
<p>It will function with non-integer precision models, but the results are not 100% guaranteed to be correctly noded. </p>
|
|
|
|
<p>Definition at line <a class="el" href="MCIndexSnapRounder_8h_source.html#l00074">74</a> of file <a class="el" href="MCIndexSnapRounder_8h_source.html">MCIndexSnapRounder.h</a>.</p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="a4432341606f64a86d93bb504f094782f"></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::MCIndexSnapRounder::MCIndexSnapRounder </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html">geom::PrecisionModel</a> & </td>
|
|
<td class="paramname"><em>nPm</em></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="MCIndexSnapRounder_8h_source.html#l00078">78</a> of file <a class="el" href="MCIndexSnapRounder_8h_source.html">MCIndexSnapRounder.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1fbc18e093754e5e830fcaf199ed01fa"></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::MCIndexSnapRounder::MCIndexSnapRounder </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html">MCIndexSnapRounder</a> & </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>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a class="anchor" id="a0db5484a878399b31dfcc7533b1ee13e"></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::MCIndexSnapRounder::checkCorrectness </td>
|
|
<td>(</td>
|
|
<td class="paramtype">std::vector< <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * > & </td>
|
|
<td class="paramname"><em>inputSegmentStrings</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="ac728e5d7161ff8285aaa214b3fce510f"></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::MCIndexSnapRounder::computeIntersectionSnaps </td>
|
|
<td>(</td>
|
|
<td class="paramtype">std::vector< <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> > & </td>
|
|
<td class="paramname"><em>snapPts</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">
|
|
<p>Computes nodes introduced as a result of snapping segments to snap points (hot pixels) </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae8a9000e13a2aa2284dfe8b969fd1ce9"></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::MCIndexSnapRounder::computeNodes </td>
|
|
<td>(</td>
|
|
<td class="paramtype">std::vector< <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * > * </td>
|
|
<td class="paramname"><em>segStrings</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Computes the noding for a collection of <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentStrings</a>. </p>
|
|
<p>Some Noders may add all these nodes to the input SegmentStrings; others may only add some or none at all.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">segStrings</td><td>a collection of <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>s to node The caller remains responsible for releasing the memory associated with the container and its elements. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Implements <a class="el" href="classgeos_1_1noding_1_1Noder.html#a42da20658cf8a969a1cbb15fd2de725d">geos::noding::Noder</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a52a1791b34c8072a0bf699aa6d254257"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void geos::noding::snapround::MCIndexSnapRounder::computeVertexSnaps </td>
|
|
<td>(</td>
|
|
<td class="paramtype">std::vector< <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * > & </td>
|
|
<td class="paramname"><em>edges</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Computes nodes introduced as a result of snapping segments to vertices of other segments</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">edges</td><td>the list of segment strings to snap together NOTE: they <em>must</em> be instances of <a class="el" href="classgeos_1_1noding_1_1NodedSegmentString.html" title="Represents a list of contiguous line segments, and supports noding the segments. ">NodedSegmentString</a>, or an assertion will fail. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9ce6f6ab3bffe4ad7841b4e8eefa7a2b"></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::MCIndexSnapRounder::computeVertexSnaps </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classgeos_1_1noding_1_1NodedSegmentString.html">NodedSegmentString</a> * </td>
|
|
<td class="paramname"><em>e</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">
|
|
<p>Performs a brute-force comparison of every segment in each <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>. This has n^2 performance. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aed49302428c4ef9223ef65ce5c8effa2"></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::MCIndexSnapRounder::findInteriorIntersections </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classgeos_1_1noding_1_1MCIndexNoder.html">MCIndexNoder</a> & </td>
|
|
<td class="paramname"><em>noder</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">std::vector< <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * > * </td>
|
|
<td class="paramname"><em>segStrings</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">std::vector< <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> > & </td>
|
|
<td class="paramname"><em>intersections</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</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">
|
|
<p>Computes all interior intersections in the collection of SegmentStrings, and push their Coordinate to the provided vector.</p>
|
|
<p>Does NOT node the segStrings. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5567bb5bbe8251c9d4f00a5411d3e2e6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::vector<<a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>*>* geos::noding::snapround::MCIndexSnapRounder::getNodedSubstrings </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 class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns a collection of fully noded <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentStrings</a>. The SegmentStrings have the same context as their parent. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>a newly allocated std::vector of newly allocated SegmentStrings (copies of input, if needs be). Caller is responsible to delete container and elements. </dd></dl>
|
|
|
|
<p>Implements <a class="el" href="classgeos_1_1noding_1_1Noder.html#a47dfe5a95741c2c9809d94f8ba39fa89">geos::noding::Noder</a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="MCIndexSnapRounder_8h_source.html#l00088">88</a> of file <a class="el" href="MCIndexSnapRounder_8h_source.html">MCIndexSnapRounder.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae1739d19dee3ed1480b52ac52762ed8b"></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_1MCIndexSnapRounder.html">MCIndexSnapRounder</a>& geos::noding::snapround::MCIndexSnapRounder::operator= </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html">MCIndexSnapRounder</a> & </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="a1e9e705799c9dc11a22808fc5fe1d237"></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::MCIndexSnapRounder::snapRound </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classgeos_1_1noding_1_1MCIndexNoder.html">MCIndexNoder</a> & </td>
|
|
<td class="paramname"><em>noder</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">std::vector< <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * > * </td>
|
|
<td class="paramname"><em>segStrings</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</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="ac6ddc351ffd431752937d0285f194c75"></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_1algorithm_1_1LineIntersector.html">algorithm::LineIntersector</a> geos::noding::snapround::MCIndexSnapRounder::li</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="MCIndexSnapRounder_8h_source.html#l00110">110</a> of file <a class="el" href="MCIndexSnapRounder_8h_source.html">MCIndexSnapRounder.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad4117dd5df015c8b7a728a0c2b7d416a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::vector<<a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>*>* geos::noding::snapround::MCIndexSnapRounder::nodedSegStrings</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="MCIndexSnapRounder_8h_source.html#l00114">114</a> of file <a class="el" href="MCIndexSnapRounder_8h_source.html">MCIndexSnapRounder.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a46776b7f0c425ac048d92f644cb11b24"></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::MCIndexSnapRounder::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>externally owned </p>
|
|
|
|
<p>Definition at line <a class="el" href="MCIndexSnapRounder_8h_source.html#l00108">108</a> of file <a class="el" href="MCIndexSnapRounder_8h_source.html">MCIndexSnapRounder.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae37aa2935f834eb86b1c1bdc2880acb8"></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<<a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexPointSnapper.html">MCIndexPointSnapper</a>> geos::noding::snapround::MCIndexSnapRounder::pointSnapper</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="MCIndexSnapRounder_8h_source.html#l00116">116</a> of file <a class="el" href="MCIndexSnapRounder_8h_source.html">MCIndexSnapRounder.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab01dd9b10c5ee0bfda35539fc1133a85"></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::MCIndexSnapRounder::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="MCIndexSnapRounder_8h_source.html#l00112">112</a> of file <a class="el" href="MCIndexSnapRounder_8h_source.html">MCIndexSnapRounder.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="MCIndexSnapRounder_8h_source.html">MCIndexSnapRounder.h</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.11
|
|
</small></address>
|
|
</body>
|
|
</html>
|