<!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::planargraph::DirectedEdgeStar 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_1planargraph.html">planargraph</a> </li> <li><a class="el" href="classgeos_1_1planargraph_1_1DirectedEdgeStar.html">geos::planargraph::DirectedEdgeStar</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::planargraph::DirectedEdgeStar Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="geos::planargraph::DirectedEdgeStar" --> <p>A sorted collection of <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html" title="Represents a directed edge in a PlanarGraph.">DirectedEdge</a> which leave a <a class="el" href="classgeos_1_1planargraph_1_1Node.html" title="A node in a PlanarGraph is a location where 0 or more Edge meet.">Node</a> in a <a class="el" href="classgeos_1_1planargraph_1_1PlanarGraph.html" title="Represents a directed graph which is embeddable in a planar surface.">PlanarGraph</a>. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="planargraph_2DirectedEdgeStar_8h_source.html">DirectedEdgeStar.h</a>></code></p> <p><a href="classgeos_1_1planargraph_1_1DirectedEdgeStar-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="a82ab63e90ebd5178d928469e29e54e50"></a><!-- doxytag: member="geos::planargraph::DirectedEdgeStar::DirectedEdgeStar" ref="a82ab63e90ebd5178d928469e29e54e50" args="()" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1DirectedEdgeStar.html#a82ab63e90ebd5178d928469e29e54e50">DirectedEdgeStar</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdgeStar.html" title="A sorted collection of DirectedEdge which leave a Node in a PlanarGraph.">DirectedEdgeStar</a> with no edges. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a029879e8739b15d681c1011aa633adeb"></a><!-- doxytag: member="geos::planargraph::DirectedEdgeStar::add" ref="a029879e8739b15d681c1011aa633adeb" args="(DirectedEdge *de)" --> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1DirectedEdgeStar.html#a029879e8739b15d681c1011aa633adeb">add</a> (<a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html">DirectedEdge</a> *de)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a new member to this <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdgeStar.html" title="A sorted collection of DirectedEdge which leave a Node in a PlanarGraph.">DirectedEdgeStar</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af5e34b6c50329d5c00878184e6c23ca6"></a><!-- doxytag: member="geos::planargraph::DirectedEdgeStar::remove" ref="af5e34b6c50329d5c00878184e6c23ca6" args="(DirectedEdge *de)" --> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1DirectedEdgeStar.html#af5e34b6c50329d5c00878184e6c23ca6">remove</a> (<a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html">DirectedEdge</a> *de)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Drops a member of this <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdgeStar.html" title="A sorted collection of DirectedEdge which leave a Node in a PlanarGraph.">DirectedEdgeStar</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8e1ad53a8ffec80a0b78c549af4f0802"></a><!-- doxytag: member="geos::planargraph::DirectedEdgeStar::iterator" ref="a8e1ad53a8ffec80a0b78c549af4f0802" args="()" --> std::vector< <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html">DirectedEdge</a> * ><br class="typebreak"/> ::iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1DirectedEdgeStar.html#a8e1ad53a8ffec80a0b78c549af4f0802">iterator</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns an Iterator over the DirectedEdges, in ascending order by angle with the positive x-axis. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a18fbbe81d71c86147baadde293d7c0ca"></a><!-- doxytag: member="geos::planargraph::DirectedEdgeStar::begin" ref="a18fbbe81d71c86147baadde293d7c0ca" args="()" --> std::vector< <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html">DirectedEdge</a> * ><br class="typebreak"/> ::iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1DirectedEdgeStar.html#a18fbbe81d71c86147baadde293d7c0ca">begin</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns an iterator to first <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html" title="Represents a directed edge in a PlanarGraph.">DirectedEdge</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a91fce103829e97b5299014ac704b3033"></a><!-- doxytag: member="geos::planargraph::DirectedEdgeStar::end" ref="a91fce103829e97b5299014ac704b3033" args="()" --> std::vector< <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html">DirectedEdge</a> * ><br class="typebreak"/> ::iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1DirectedEdgeStar.html#a91fce103829e97b5299014ac704b3033">end</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns an iterator to one-past last <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html" title="Represents a directed edge in a PlanarGraph.">DirectedEdge</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e5ffcca05b0b63bd925725ef84cd7ba"></a><!-- doxytag: member="geos::planargraph::DirectedEdgeStar::begin" ref="a5e5ffcca05b0b63bd925725ef84cd7ba" args="() const " --> std::vector< <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html">DirectedEdge</a> * ><br class="typebreak"/> ::const_iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1DirectedEdgeStar.html#a5e5ffcca05b0b63bd925725ef84cd7ba">begin</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns an const_iterator to first <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html" title="Represents a directed edge in a PlanarGraph.">DirectedEdge</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afab9c7e9e95cf18d834ef68291e009e8"></a><!-- doxytag: member="geos::planargraph::DirectedEdgeStar::end" ref="afab9c7e9e95cf18d834ef68291e009e8" args="() const " --> std::vector< <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html">DirectedEdge</a> * ><br class="typebreak"/> ::const_iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1DirectedEdgeStar.html#afab9c7e9e95cf18d834ef68291e009e8">end</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns an const_iterator to one-past last <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html" title="Represents a directed edge in a PlanarGraph.">DirectedEdge</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1e541b91776eaaef4f709c7d04736f07"></a><!-- doxytag: member="geos::planargraph::DirectedEdgeStar::getDegree" ref="a1e541b91776eaaef4f709c7d04736f07" args="() const " --> size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1DirectedEdgeStar.html#a1e541b91776eaaef4f709c7d04736f07">getDegree</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of edges around the <a class="el" href="classgeos_1_1planargraph_1_1Node.html" title="A node in a PlanarGraph is a location where 0 or more Edge meet.">Node</a> associated with this <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdgeStar.html" title="A sorted collection of DirectedEdge which leave a Node in a PlanarGraph.">DirectedEdgeStar</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abc84110aa5fad050bb6650752b73a24f"></a><!-- doxytag: member="geos::planargraph::DirectedEdgeStar::getCoordinate" ref="abc84110aa5fad050bb6650752b73a24f" args="() const " --> <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1DirectedEdgeStar.html#abc84110aa5fad050bb6650752b73a24f">getCoordinate</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the coordinate for the node at wich this star is based. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1bdc73977bfed00f7482d30be5cf4d43"></a><!-- doxytag: member="geos::planargraph::DirectedEdgeStar::getEdges" ref="a1bdc73977bfed00f7482d30be5cf4d43" args="()" --> std::vector< <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html">DirectedEdge</a> * > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1DirectedEdgeStar.html#a1bdc73977bfed00f7482d30be5cf4d43">getEdges</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the DirectedEdges, in ascending order by angle with the positive x-axis. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a804487abbc01c23d2c4dbdcd50d8229b"></a><!-- doxytag: member="geos::planargraph::DirectedEdgeStar::getIndex" ref="a804487abbc01c23d2c4dbdcd50d8229b" args="(const Edge *edge)" --> int </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1DirectedEdgeStar.html#a804487abbc01c23d2c4dbdcd50d8229b">getIndex</a> (const <a class="el" href="classgeos_1_1planargraph_1_1Edge.html">Edge</a> *edge)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the zero-based index of the given <a class="el" href="classgeos_1_1planargraph_1_1Edge.html" title="Represents an undirected edge of a PlanarGraph.">Edge</a>, after sorting in ascending order by angle with the positive x-axis. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af9546097d65fdd3820e86ec4d1460323"></a><!-- doxytag: member="geos::planargraph::DirectedEdgeStar::getIndex" ref="af9546097d65fdd3820e86ec4d1460323" args="(const DirectedEdge *dirEdge)" --> int </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1DirectedEdgeStar.html#af9546097d65fdd3820e86ec4d1460323">getIndex</a> (const <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html">DirectedEdge</a> *dirEdge)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the zero-based index of the given <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html" title="Represents a directed edge in a PlanarGraph.">DirectedEdge</a>, after sorting in ascending order by angle with the positive x-axis. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afee02be1f5eb16893003955ae3bc7464"></a><!-- doxytag: member="geos::planargraph::DirectedEdgeStar::getIndex" ref="afee02be1f5eb16893003955ae3bc7464" args="(int i) const " --> int </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1DirectedEdgeStar.html#afee02be1f5eb16893003955ae3bc7464">getIndex</a> (int i) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the remainder when i is divided by the number of edges in this <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdgeStar.html" title="A sorted collection of DirectedEdge which leave a Node in a PlanarGraph.">DirectedEdgeStar</a>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af0e59673d6ab893e4e845783b37dfbc8"></a><!-- doxytag: member="geos::planargraph::DirectedEdgeStar::getNextEdge" ref="af0e59673d6ab893e4e845783b37dfbc8" args="(DirectedEdge *dirEdge)" --> <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html">DirectedEdge</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1planargraph_1_1DirectedEdgeStar.html#af0e59673d6ab893e4e845783b37dfbc8">getNextEdge</a> (<a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html">DirectedEdge</a> *dirEdge)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html" title="Represents a directed edge in a PlanarGraph.">DirectedEdge</a> on the left-hand side of the given <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html" title="Represents a directed edge in a PlanarGraph.">DirectedEdge</a> (which must be a member of this <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdgeStar.html" title="A sorted collection of DirectedEdge which leave a Node in a PlanarGraph.">DirectedEdgeStar</a>). <br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>A sorted collection of <a class="el" href="classgeos_1_1planargraph_1_1DirectedEdge.html" title="Represents a directed edge in a PlanarGraph.">DirectedEdge</a> which leave a <a class="el" href="classgeos_1_1planargraph_1_1Node.html" title="A node in a PlanarGraph is a location where 0 or more Edge meet.">Node</a> in a <a class="el" href="classgeos_1_1planargraph_1_1PlanarGraph.html" title="Represents a directed graph which is embeddable in a planar surface.">PlanarGraph</a>. </p> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="planargraph_2DirectedEdgeStar_8h_source.html">planargraph/DirectedEdgeStar.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>