<!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::MCIndexNoder 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_1MCIndexNoder.html">geos::noding::MCIndexNoder</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::MCIndexNoder Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="geos::noding::MCIndexNoder" --><!-- doxytag: inherits="geos::noding::SinglePassNoder" --> <p>Nodes 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> using a index based on <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html" title="Monotone Chains are a way of partitioning the segments of a linestring to allow for fast searching of...">index::chain::MonotoneChain</a> and a <a class="el" href="classgeos_1_1index_1_1SpatialIndex.html" title="Abstract class defines basic insertion and query operations supported by classes implementing spatial...">index::SpatialIndex</a>. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="MCIndexNoder_8h_source.html">MCIndexNoder.h</a>></code></p> <div class="dynheader"> Inheritance diagram for geos::noding::MCIndexNoder:</div> <div class="dyncontent"> <div class="center"> <img src="classgeos_1_1noding_1_1MCIndexNoder.png" usemap="#geos::noding::MCIndexNoder_map" alt=""/> <map id="geos::noding::MCIndexNoder_map" name="geos::noding::MCIndexNoder_map"> <area href="classgeos_1_1noding_1_1SinglePassNoder.html" alt="geos::noding::SinglePassNoder" shape="rect" coords="0,56,186,80"/> <area href="classgeos_1_1noding_1_1Noder.html" alt="geos::noding::Noder" shape="rect" coords="0,0,186,24"/> </map> </div> <p><a href="classgeos_1_1noding_1_1MCIndexNoder-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"><a class="anchor" id="a29b16584ae3b60ca84622687a1f189ef"></a><!-- doxytag: member="geos::noding::MCIndexNoder::MCIndexNoder" ref="a29b16584ae3b60ca84622687a1f189ef" args="(SegmentIntersector *nSegInt=NULL)" --> </td><td class="memItemRight" valign="bottom"><b>MCIndexNoder</b> (<a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html">SegmentIntersector</a> *nSegInt=NULL)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6c8dfb1c825a451e7558a6e1f5c42498"></a><!-- doxytag: member="geos::noding::MCIndexNoder::getMonotoneChains" ref="a6c8dfb1c825a451e7558a6e1f5c42498" args="()" --> std::vector<br class="typebreak"/> < <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">index::chain::MonotoneChain</a> * > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1MCIndexNoder.html#a6c8dfb1c825a451e7558a6e1f5c42498">getMonotoneChains</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a reference to this instance's std::vector of MonotoneChains. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7fe1e706f26f06d2a66d431bb99e38f2"></a><!-- doxytag: member="geos::noding::MCIndexNoder::getIndex" ref="a7fe1e706f26f06d2a66d431bb99e38f2" args="()" --> <a class="el" href="classgeos_1_1index_1_1SpatialIndex.html">index::SpatialIndex</a> & </td><td class="memItemRight" valign="bottom"><b>getIndex</b> ()</td></tr> <tr><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_1MCIndexNoder.html#a4cf1272b50a5b295a3ec675cc0bc1dd4">getNodedSubstrings</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1MCIndexNoder.html#a5b817447a1712f712657240e08d86a7f">computeNodes</a> (std::vector< <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * > *inputSegmentStrings)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Nodes 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> using a index based on <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html" title="Monotone Chains are a way of partitioning the segments of a linestring to allow for fast searching of...">index::chain::MonotoneChain</a> and a <a class="el" href="classgeos_1_1index_1_1SpatialIndex.html" title="Abstract class defines basic insertion and query operations supported by classes implementing spatial...">index::SpatialIndex</a>. </p> <p>The <a class="el" href="">SpatialIndex</a> used should be something that supports envelope (range) queries efficiently (such as a <a class="el" href="classgeos_1_1index_1_1quadtree_1_1Quadtree.html" title="A Quadtree is a spatial index structure for efficient querying of 2D rectangles. If other kinds of sp...">index::quadtree::Quadtree</a> or <a class="el" href="classgeos_1_1index_1_1strtree_1_1STRtree.html" title="A query-only R-tree created using the Sort-Tile-Recursive (STR) algorithm. For two-dimensional spatia...">index::strtree::STRtree</a>.</p> <p>Last port: noding/MCIndexNoder.java rev. 1.4 (JTS-1.7) </p> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a5b817447a1712f712657240e08d86a7f"></a><!-- doxytag: member="geos::noding::MCIndexNoder::computeNodes" ref="a5b817447a1712f712657240e08d86a7f" args="(std::vector< SegmentString * > *inputSegmentStrings)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void geos::noding::MCIndexNoder::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> [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> <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>Implements <a class="el" href="classgeos_1_1noding_1_1SinglePassNoder.html#a21160e917b5d1901c7a68490eaa541af">geos::noding::SinglePassNoder</a>.</p> </div> </div> <a class="anchor" id="a4cf1272b50a5b295a3ec675cc0bc1dd4"></a><!-- doxytag: member="geos::noding::MCIndexNoder::getNodedSubstrings" ref="a4cf1272b50a5b295a3ec675cc0bc1dd4" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::vector<<a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>*>* geos::noding::MCIndexNoder::getNodedSubstrings </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [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 Collection of SegmentStrings </dd></dl> <p>Implements <a class="el" href="classgeos_1_1noding_1_1SinglePassNoder.html#ace0b56f5d1c7d426b66a8e14cc43bf0f">geos::noding::SinglePassNoder</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="MCIndexNoder_8h_source.html">MCIndexNoder.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>