<!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::IntersectionFinderAdder 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_1IntersectionFinderAdder.html">geos::noding::IntersectionFinderAdder</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::IntersectionFinderAdder Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="geos::noding::IntersectionFinderAdder" --><!-- doxytag: inherits="geos::noding::SegmentIntersector" --> <p>Finds proper and interior intersections in a set of SegmentStrings, and adds them as nodes. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="IntersectionFinderAdder_8h_source.html">IntersectionFinderAdder.h</a>></code></p> <div class="dynheader"> Inheritance diagram for geos::noding::IntersectionFinderAdder:</div> <div class="dyncontent"> <div class="center"> <img src="classgeos_1_1noding_1_1IntersectionFinderAdder.png" usemap="#geos::noding::IntersectionFinderAdder_map" alt=""/> <map id="geos::noding::IntersectionFinderAdder_map" name="geos::noding::IntersectionFinderAdder_map"> <area href="classgeos_1_1noding_1_1SegmentIntersector.html" alt="geos::noding::SegmentIntersector" shape="rect" coords="0,0,226,24"/> </map> </div> <p><a href="classgeos_1_1noding_1_1IntersectionFinderAdder-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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1IntersectionFinderAdder.html#ae64d53e0de0172a5bd05cb41ecd618d3">IntersectionFinderAdder</a> (<a class="el" href="classgeos_1_1algorithm_1_1LineIntersector.html">algorithm::LineIntersector</a> &newLi, std::vector< <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> > &v)</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_1IntersectionFinderAdder.html#ac4a6c8d06f7e37265c86f66a622bfbf8">processIntersections</a> (<a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> *e0, int segIndex0, <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> *e1, int segIndex1)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aac1e3b24ca4010aad9644a0640f03bc6"></a><!-- doxytag: member="geos::noding::IntersectionFinderAdder::getInteriorIntersections" ref="aac1e3b24ca4010aad9644a0640f03bc6" args="()" --> std::vector< <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> > & </td><td class="memItemRight" valign="bottom"><b>getInteriorIntersections</b> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1IntersectionFinderAdder.html#af71113122281b3c96ce7c137879e09f4">isDone</a> () const </td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Finds proper and interior intersections in a set of SegmentStrings, and adds them as nodes. </p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="ae64d53e0de0172a5bd05cb41ecd618d3"></a><!-- doxytag: member="geos::noding::IntersectionFinderAdder::IntersectionFinderAdder" ref="ae64d53e0de0172a5bd05cb41ecd618d3" args="(algorithm::LineIntersector &newLi, std::vector< geom::Coordinate > &v)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">geos::noding::IntersectionFinderAdder::IntersectionFinderAdder </td> <td>(</td> <td class="paramtype"><a class="el" href="classgeos_1_1algorithm_1_1LineIntersector.html">algorithm::LineIntersector</a> & </td> <td class="paramname"> <em>newLi</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>v</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Creates an intersection finder which finds all proper intersections and stores them in the provided Coordinate array</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>li</em> </td><td>the LineIntersector to use </td></tr> <tr><td valign="top"></td><td valign="top"><em>v</em> </td><td>the Vector to push interior intersections to </td></tr> </table> </dd> </dl> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="af71113122281b3c96ce7c137879e09f4"></a><!-- doxytag: member="geos::noding::IntersectionFinderAdder::isDone" ref="af71113122281b3c96ce7c137879e09f4" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool geos::noding::IntersectionFinderAdder::isDone </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Always process all intersections</p> <dl class="return"><dt><b>Returns:</b></dt><dd>false always </dd></dl> <p>Reimplemented from <a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html#a2402e2ce3a39edad9f5d283be73b5d1d">geos::noding::SegmentIntersector</a>.</p> </div> </div> <a class="anchor" id="ac4a6c8d06f7e37265c86f66a622bfbf8"></a><!-- doxytag: member="geos::noding::IntersectionFinderAdder::processIntersections" ref="ac4a6c8d06f7e37265c86f66a622bfbf8" args="(SegmentString *e0, int segIndex0, SegmentString *e1, int segIndex1)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void geos::noding::IntersectionFinderAdder::processIntersections </td> <td>(</td> <td class="paramtype"><a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * </td> <td class="paramname"> <em>e0</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>segIndex0</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * </td> <td class="paramname"> <em>e1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>segIndex1</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>This method is called by clients of the <a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html">SegmentIntersector</a> class to process intersections for two segments of the <a class="el" href="">SegmentStrings</a> being intersected. Note that some clients (such as <a class="el" href="">MonotoneChain</a>s) may optimize away this call for segment pairs which they have determined do not intersect (e.g. by an disjoint envelope test). </p> <p>Implements <a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html#a23998a6202706d84baf9aac78f9d2ee5">geos::noding::SegmentIntersector</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="IntersectionFinderAdder_8h_source.html">IntersectionFinderAdder.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>