<!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::geomgraph::EdgeIntersection 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_1geomgraph.html">geomgraph</a> </li> <li><a class="el" href="classgeos_1_1geomgraph_1_1EdgeIntersection.html">geos::geomgraph::EdgeIntersection</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-attribs">Public Attributes</a> </div> <div class="headertitle"> <h1>geos::geomgraph::EdgeIntersection Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="geos::geomgraph::EdgeIntersection" --> <p><code>#include <<a class="el" href="EdgeIntersection_8h_source.html">EdgeIntersection.h</a>></code></p> <p><a href="classgeos_1_1geomgraph_1_1EdgeIntersection-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="a6f60f326151a579fa248b2288ac779d3"></a><!-- doxytag: member="geos::geomgraph::EdgeIntersection::EdgeIntersection" ref="a6f60f326151a579fa248b2288ac779d3" args="(const geom::Coordinate &newCoord, int newSegmentIndex, double newDist)" --> </td><td class="memItemRight" valign="bottom"><b>EdgeIntersection</b> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &newCoord, int newSegmentIndex, double newDist)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geomgraph_1_1EdgeIntersection.html#a6930b7f6466910374d55e5ef79112c40">compare</a> (int newSegmentIndex, double newDist) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a777234f5ab362194ca27e1c8507d0b2f"></a><!-- doxytag: member="geos::geomgraph::EdgeIntersection::isEndPoint" ref="a777234f5ab362194ca27e1c8507d0b2f" args="(int maxSegmentIndex)" --> bool </td><td class="memItemRight" valign="bottom"><b>isEndPoint</b> (int maxSegmentIndex)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acdcfd11fa14cacf89f613e2589085b8a"></a><!-- doxytag: member="geos::geomgraph::EdgeIntersection::print" ref="acdcfd11fa14cacf89f613e2589085b8a" args="() const " --> std::string </td><td class="memItemRight" valign="bottom"><b>print</b> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1db75ee0a8eac899db5d51882a0ca740"></a><!-- doxytag: member="geos::geomgraph::EdgeIntersection::compareTo" ref="a1db75ee0a8eac899db5d51882a0ca740" args="(const EdgeIntersection *) const " --> int </td><td class="memItemRight" valign="bottom"><b>compareTo</b> (const <a class="el" href="classgeos_1_1geomgraph_1_1EdgeIntersection.html">EdgeIntersection</a> *) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9c643ec778edbb5ac7b4dfe6594ded51"></a><!-- doxytag: member="geos::geomgraph::EdgeIntersection::getCoordinate" ref="a9c643ec778edbb5ac7b4dfe6594ded51" args="() const " --> const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> & </td><td class="memItemRight" valign="bottom"><b>getCoordinate</b> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a981dfcaa09729c2723807dcb9048926e"></a><!-- doxytag: member="geos::geomgraph::EdgeIntersection::getSegmentIndex" ref="a981dfcaa09729c2723807dcb9048926e" args="() const " --> int </td><td class="memItemRight" valign="bottom"><b>getSegmentIndex</b> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a42aadca708b9331169be54c3a6025c4c"></a><!-- doxytag: member="geos::geomgraph::EdgeIntersection::getDistance" ref="a42aadca708b9331169be54c3a6025c4c" args="()" --> double </td><td class="memItemRight" valign="bottom"><b>getDistance</b> ()</td></tr> <tr><td colspan="2"><h2><a name="pub-attribs"></a> Public Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af210032406f05ca94f819a040d05d652"></a><!-- doxytag: member="geos::geomgraph::EdgeIntersection::coord" ref="af210032406f05ca94f819a040d05d652" args="" --> <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> </td><td class="memItemRight" valign="bottom"><b>coord</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a70d6db27279a8ecbab61c3ae5a2e327b"></a><!-- doxytag: member="geos::geomgraph::EdgeIntersection::segmentIndex" ref="a70d6db27279a8ecbab61c3ae5a2e327b" args="" --> int </td><td class="memItemRight" valign="bottom"><b>segmentIndex</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa2e8689273ad164252f9e2bd4ad3feaf"></a><!-- doxytag: member="geos::geomgraph::EdgeIntersection::dist" ref="aa2e8689273ad164252f9e2bd4ad3feaf" args="" --> double </td><td class="memItemRight" valign="bottom"><b>dist</b></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Represents a point on an edge which intersects with another edge.</p> <p>The intersection may either be a single point, or a line segment (in which case this point is the start of the line segment) The intersection point must be precise. </p> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a6930b7f6466910374d55e5ef79112c40"></a><!-- doxytag: member="geos::geomgraph::EdgeIntersection::compare" ref="a6930b7f6466910374d55e5ef79112c40" args="(int newSegmentIndex, double newDist) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int geos::geomgraph::EdgeIntersection::compare </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>newSegmentIndex</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>newDist</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const</td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>-1 this <a class="el" href="classgeos_1_1geomgraph_1_1EdgeIntersection.html">EdgeIntersection</a> is located before the argument location </dd> <dd> 0 this <a class="el" href="classgeos_1_1geomgraph_1_1EdgeIntersection.html">EdgeIntersection</a> is at the argument location </dd> <dd> 1 this <a class="el" href="classgeos_1_1geomgraph_1_1EdgeIntersection.html">EdgeIntersection</a> is located after the argument location </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="EdgeIntersection_8h_source.html">EdgeIntersection.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>