<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>GEOS: geos::noding::Noder Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main 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 class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"> <ul> <li><a class="el" href="namespacegeos.html">geos</a> </li> <li><a class="el" href="namespacegeos_1_1noding.html">noding</a> </li> <li><a class="el" href="classgeos_1_1noding_1_1Noder.html">geos::noding::Noder</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <h1>geos::noding::Noder Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="geos::noding::Noder" --> <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="#_details">More...</a></p> <p><code>#include <<a class="el" href="Noder_8h_source.html">Noder.h</a>></code></p> <div class="dynheader"> Inheritance diagram for geos::noding::Noder:</div> <div class="dyncontent"> <div class="center"> <img src="classgeos_1_1noding_1_1Noder.png" usemap="#geos::noding::Noder_map" alt=""/> <map id="geos::noding::Noder_map" name="geos::noding::Noder_map"> <area href="classgeos_1_1noding_1_1IteratedNoder.html" alt="geos::noding::IteratedNoder" shape="rect" coords="0,56,282,80"/> <area href="classgeos_1_1noding_1_1ScaledNoder.html" alt="geos::noding::ScaledNoder" shape="rect" coords="292,56,574,80"/> <area href="classgeos_1_1noding_1_1SinglePassNoder.html" alt="geos::noding::SinglePassNoder" shape="rect" coords="584,56,866,80"/> <area href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html" alt="geos::noding::snapround::MCIndexSnapRounder" shape="rect" coords="876,56,1158,80"/> <area href="classgeos_1_1noding_1_1snapround_1_1SimpleSnapRounder.html" alt="geos::noding::snapround::SimpleSnapRounder" shape="rect" coords="1168,56,1450,80"/> <area href="classgeos_1_1noding_1_1MCIndexNoder.html" alt="geos::noding::MCIndexNoder" shape="rect" coords="438,112,720,136"/> <area href="classgeos_1_1noding_1_1SimpleNoder.html" alt="geos::noding::SimpleNoder" shape="rect" coords="730,112,1012,136"/> </map> </div> <p><a href="classgeos_1_1noding_1_1Noder-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1Noder.html#a42da20658cf8a969a1cbb15fd2de725d">computeNodes</a> (std::vector< <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * > *segStrings)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Computes the noding for a collection of <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>s. <a href="#a42da20658cf8a969a1cbb15fd2de725d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual std::vector<br class="typebreak"/> < <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_1Noder.html#a47dfe5a95741c2c9809d94f8ba39fa89">getNodedSubstrings</a> () const =0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a <a class="el" href="">Collection</a> of fully noded <a class="el" href="">SegmentStrings</a>. The SegmentStrings have the same context as their parent. <a href="#a47dfe5a95741c2c9809d94f8ba39fa89"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <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">SegmentNode</a>s and added to the <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>s 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> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a42da20658cf8a969a1cbb15fd2de725d"></a><!-- doxytag: member="geos::noding::Noder::computeNodes" ref="a42da20658cf8a969a1cbb15fd2de725d" args="(std::vector< SegmentString * > *segStrings)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void geos::noding::Noder::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><code> [pure virtual]</code></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">SegmentString</a>s. </p> <p>Some Noders may add all these nodes to the input SegmentStrings; others may only add some or none at all.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>segStrings</em> </td><td>a collection of <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>s to node </td></tr> </table> </dd> </dl> <p>Implemented in <a class="el" href="classgeos_1_1noding_1_1IteratedNoder.html#aec453e0935ccd8971cd3030e03229714">geos::noding::IteratedNoder</a>, <a class="el" href="classgeos_1_1noding_1_1MCIndexNoder.html#a5b817447a1712f712657240e08d86a7f">geos::noding::MCIndexNoder</a>, <a class="el" href="classgeos_1_1noding_1_1ScaledNoder.html#ab54943490d8e0b845cc171660edad29d">geos::noding::ScaledNoder</a>, <a class="el" href="classgeos_1_1noding_1_1SimpleNoder.html#a331fef4fcf5ae0709c8da8311fff1e12">geos::noding::SimpleNoder</a>, <a class="el" href="classgeos_1_1noding_1_1SinglePassNoder.html#a21160e917b5d1901c7a68490eaa541af">geos::noding::SinglePassNoder</a>, <a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html#a72d9397c421c3d4186fcd656c6ff308b">geos::noding::snapround::MCIndexSnapRounder</a>, and <a class="el" href="classgeos_1_1noding_1_1snapround_1_1SimpleSnapRounder.html#ad15603312a46172a3de09669c262cb49">geos::noding::snapround::SimpleSnapRounder</a>.</p> </div> </div> <a class="anchor" id="a47dfe5a95741c2c9809d94f8ba39fa89"></a><!-- doxytag: member="geos::noding::Noder::getNodedSubstrings" ref="a47dfe5a95741c2c9809d94f8ba39fa89" args="() const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual std::vector<<a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>*>* geos::noding::Noder::getNodedSubstrings </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns a <a class="el" href="">Collection</a> of fully noded <a class="el" href="">SegmentStrings</a>. The SegmentStrings have the same context as their parent. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>a newly allocated std::vector of const SegmentStrings. Caller is responsible to delete it </dd></dl> <p>Implemented in <a class="el" href="classgeos_1_1noding_1_1IteratedNoder.html#a14f8d4ac6d7e8059d9b5e92c5158d354">geos::noding::IteratedNoder</a>, <a class="el" href="classgeos_1_1noding_1_1MCIndexNoder.html#a4cf1272b50a5b295a3ec675cc0bc1dd4">geos::noding::MCIndexNoder</a>, <a class="el" href="classgeos_1_1noding_1_1ScaledNoder.html#a3a96cc082697e34eb1e5d84d17e200be">geos::noding::ScaledNoder</a>, <a class="el" href="classgeos_1_1noding_1_1SimpleNoder.html#a01d3b5c7cf260a9c36f9b85c146feebe">geos::noding::SimpleNoder</a>, <a class="el" href="classgeos_1_1noding_1_1SinglePassNoder.html#ace0b56f5d1c7d426b66a8e14cc43bf0f">geos::noding::SinglePassNoder</a>, <a class="el" href="classgeos_1_1noding_1_1snapround_1_1MCIndexSnapRounder.html#aac296d8e034928caf04458cd71fd694c">geos::noding::snapround::MCIndexSnapRounder</a>, and <a class="el" href="classgeos_1_1noding_1_1snapround_1_1SimpleSnapRounder.html#ac807e2ef1021a770df42f325a9ca30cb">geos::noding::snapround::SimpleSnapRounder</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> <hr class="footer"/><address class="footer"><small>Generated on Thu Jul 22 2010 for GEOS by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address> </body> </html>