geos_390_docs/classgeos_1_1noding_1_1Node...

222 lines
14 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::Noder 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="classgeos_1_1noding_1_1Noder.html">Noder</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="classgeos_1_1noding_1_1Noder-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">geos::noding::Noder Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p>Computes all intersections between segments in 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_1Noder.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="Noder_8h_source.html">Noder.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for geos::noding::Noder:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="classgeos_1_1noding_1_1Noder__inherit__graph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</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:a42da20658cf8a969a1cbb15fd2de725d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1Noder.html#a42da20658cf8a969a1cbb15fd2de725d">computeNodes</a> (std::vector&lt; <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * &gt; *segStrings)=0</td></tr>
<tr class="memdesc:a42da20658cf8a969a1cbb15fd2de725d"><td class="mdescLeft">&#160;</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="#a42da20658cf8a969a1cbb15fd2de725d">More...</a><br /></td></tr>
<tr class="separator:a42da20658cf8a969a1cbb15fd2de725d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47dfe5a95741c2c9809d94f8ba39fa89"><td class="memItemLeft" align="right" valign="top">virtual std::vector&lt; <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1Noder.html#a47dfe5a95741c2c9809d94f8ba39fa89">getNodedSubstrings</a> () const =0</td></tr>
<tr class="memdesc:a47dfe5a95741c2c9809d94f8ba39fa89"><td class="mdescLeft">&#160;</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="#a47dfe5a95741c2c9809d94f8ba39fa89">More...</a><br /></td></tr>
<tr class="separator:a47dfe5a95741c2c9809d94f8ba39fa89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51af7a896051686b867d1e6aac6f8387"><td class="memItemLeft" align="right" valign="top">virtual&#160;</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"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a44ae3fde11fa58e6f3637ebd67f6571e"><td class="memItemLeft" align="right" valign="top">&#160;</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"><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>Computes all intersections between segments in 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>Intersections found are represented as <a class="el" href="classgeos_1_1noding_1_1SegmentNode.html">SegmentNodes</a> and added to the <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentStrings</a> in which they occur. As a final step in the noding a new set of segment strings split at the nodes may be returned.</p>
<p>Last port: noding/Noder.java rev. 1.8 (JTS-1.7)</p>
<p>TODO: this was really an interface, we should avoid making it a Base class </p>
<p>Definition at line <a class="el" href="Noder_8h_source.html#l00049">49</a> of file <a class="el" href="Noder_8h_source.html">Noder.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a51af7a896051686b867d1e6aac6f8387"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual geos::noding::Noder::~Noder </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 class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="Noder_8h_source.html#l00074">74</a> of file <a class="el" href="Noder_8h_source.html">Noder.h</a>.</p>
</div>
</div>
<a class="anchor" id="a44ae3fde11fa58e6f3637ebd67f6571e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">geos::noding::Noder::Noder </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 class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="Noder_8h_source.html#l00077">77</a> of file <a class="el" href="Noder_8h_source.html">Noder.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a42da20658cf8a969a1cbb15fd2de725d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void geos::noding::Noder::computeNodes </td>
<td>(</td>
<td class="paramtype">std::vector&lt; <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * &gt; *&#160;</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">pure 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>Implemented in <a class="el" href="classgeos_1_1noding_1_1snapround_1_1SnapRoundingNoder.html#a875a2e57455ca5efc3b7b6cae617d03a">geos::noding::snapround::SnapRoundingNoder</a>, <a class="el" href="classgeos_1_1noding_1_1IteratedNoder.html#ac22732a7994a8b9ca499e5cb8254ce12">geos::noding::IteratedNoder</a>, <a class="el" href="classgeos_1_1noding_1_1snap_1_1SnappingNoder.html#af1cfc5fae753fc583151d47464000297">geos::noding::snap::SnappingNoder</a>, <a class="el" href="classgeos_1_1noding_1_1MCIndexNoder.html#a20ff60a181902d70e0a55ec140507f93">geos::noding::MCIndexNoder</a>, <a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html#ae8a9000e13a2aa2284dfe8b969fd1ce9">geos::noding::snapround::MCIndexSnapRounder</a>, <a class="el" href="classgeos_1_1noding_1_1ScaledNoder.html#a3775c9107da90d1eece071514ffb2346">geos::noding::ScaledNoder</a>, <a class="el" href="classgeos_1_1noding_1_1SinglePassNoder.html#a4c945f02ead1a39d5653e23d893cbee6">geos::noding::SinglePassNoder</a>, <a class="el" href="classgeos_1_1noding_1_1ValidatingNoder.html#af5706fc6562cd5343f8b1e75d2f08632">geos::noding::ValidatingNoder</a>, and <a class="el" href="classgeos_1_1noding_1_1SimpleNoder.html#accc5199584fd3097fc1ed71c450c29a9">geos::noding::SimpleNoder</a>.</p>
</div>
</div>
<a class="anchor" id="a47dfe5a95741c2c9809d94f8ba39fa89"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual std::vector&lt;<a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>*&gt;* geos::noding::Noder::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">pure 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>Implemented in <a class="el" href="classgeos_1_1noding_1_1snapround_1_1SnapRoundingNoder.html#a038c20c192b0691d34e688e4a251ca53">geos::noding::snapround::SnapRoundingNoder</a>, <a class="el" href="classgeos_1_1noding_1_1snap_1_1SnappingNoder.html#a215583e51f7562c2f22ef46133b57f05">geos::noding::snap::SnappingNoder</a>, <a class="el" href="classgeos_1_1noding_1_1IteratedNoder.html#ab98f13df68bf27995164c3d560f24ede">geos::noding::IteratedNoder</a>, <a class="el" href="classgeos_1_1noding_1_1MCIndexNoder.html#aebeded114d4650d34bbbc4de9ea767f2">geos::noding::MCIndexNoder</a>, <a class="el" href="classgeos_1_1noding_1_1SinglePassNoder.html#a46dcb940d54812acd02617828b66abd4">geos::noding::SinglePassNoder</a>, <a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html#a5567bb5bbe8251c9d4f00a5411d3e2e6">geos::noding::snapround::MCIndexSnapRounder</a>, <a class="el" href="classgeos_1_1noding_1_1ScaledNoder.html#aa81e6d345fcf89625f7b8c3c454a4cfa">geos::noding::ScaledNoder</a>, <a class="el" href="classgeos_1_1noding_1_1ValidatingNoder.html#aadcf7eddd70de502862bc266132503e9">geos::noding::ValidatingNoder</a>, and <a class="el" href="classgeos_1_1noding_1_1SimpleNoder.html#a26f5411f07b5ff998a409648237286dc">geos::noding::SimpleNoder</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="Noder_8h_source.html">Noder.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>