Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 5035839f674c88dea1f7928a86fbdc64 > files > 1104

geos-devel-3.2.1-3.fc14.x86_64.rpm

<!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::operation::overlay::LineBuilder 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&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;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&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;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_1operation.html">operation</a>      </li>
      <li><a class="el" href="namespacegeos_1_1operation_1_1overlay.html">overlay</a>      </li>
      <li><a class="el" href="classgeos_1_1operation_1_1overlay_1_1LineBuilder.html">geos::operation::overlay::LineBuilder</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::operation::overlay::LineBuilder Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="geos::operation::overlay::LineBuilder" -->
<p>Forms JTS LineStrings out of a the graph of <a class="el" href="classgeos_1_1geomgraph_1_1DirectedEdge.html" title="A directed EdgeEnd.">geomgraph::DirectedEdge</a> created by an <a class="el" href="classgeos_1_1operation_1_1overlay_1_1OverlayOp.html" title="Computes the overlay of two Geometry.">OverlayOp</a>.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="LineBuilder_8h_source.html">LineBuilder.h</a>&gt;</code></p>

<p><a href="classgeos_1_1operation_1_1overlay_1_1LineBuilder-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="ae894b0602f04cf66c110d8c25c694546"></a><!-- doxytag: member="geos::operation::overlay::LineBuilder::LineBuilder" ref="ae894b0602f04cf66c110d8c25c694546" args="(OverlayOp *newOp, const geom::GeometryFactory *newGeometryFactory, algorithm::PointLocator *newPtLocator)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>LineBuilder</b> (<a class="el" href="classgeos_1_1operation_1_1overlay_1_1OverlayOp.html">OverlayOp</a> *newOp, const <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html">geom::GeometryFactory</a> *newGeometryFactory, <a class="el" href="classgeos_1_1algorithm_1_1PointLocator.html">algorithm::PointLocator</a> *newPtLocator)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a> * &gt; *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlay_1_1LineBuilder.html#aae80335c94d9bb1e5373a0ea456ce826">build</a> (<a class="el" href="classgeos_1_1operation_1_1overlay_1_1OverlayOp.html#a1f2552b975ce852f0b192dc00997b131">OverlayOp::OpCode</a> opCode)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1overlay_1_1LineBuilder.html#a61303c94f768940d9cafbbe548df5a1e">collectLineEdge</a> (<a class="el" href="classgeos_1_1geomgraph_1_1DirectedEdge.html">geomgraph::DirectedEdge</a> *de, <a class="el" href="classgeos_1_1operation_1_1overlay_1_1OverlayOp.html#a1f2552b975ce852f0b192dc00997b131">OverlayOp::OpCode</a> opCode, std::vector&lt; geomgraph::Edge * &gt; *edges)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Forms JTS LineStrings out of a the graph of <a class="el" href="classgeos_1_1geomgraph_1_1DirectedEdge.html" title="A directed EdgeEnd.">geomgraph::DirectedEdge</a> created by an <a class="el" href="classgeos_1_1operation_1_1overlay_1_1OverlayOp.html" title="Computes the overlay of two Geometry.">OverlayOp</a>. </p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aae80335c94d9bb1e5373a0ea456ce826"></a><!-- doxytag: member="geos::operation::overlay::LineBuilder::build" ref="aae80335c94d9bb1e5373a0ea456ce826" args="(OverlayOp::OpCode opCode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a>*&gt;* geos::operation::overlay::LineBuilder::build </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgeos_1_1operation_1_1overlay_1_1OverlayOp.html#a1f2552b975ce852f0b192dc00997b131">OverlayOp::OpCode</a>&nbsp;</td>
          <td class="paramname"> <em>opCode</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>a list of the LineStrings in the result of the specified overlay operation </dd></dl>

</div>
</div>
<a class="anchor" id="a61303c94f768940d9cafbbe548df5a1e"></a><!-- doxytag: member="geos::operation::overlay::LineBuilder::collectLineEdge" ref="a61303c94f768940d9cafbbe548df5a1e" args="(geomgraph::DirectedEdge *de, OverlayOp::OpCode opCode, std::vector&lt; geomgraph::Edge * &gt; *edges)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void geos::operation::overlay::LineBuilder::collectLineEdge </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgeos_1_1geomgraph_1_1DirectedEdge.html">geomgraph::DirectedEdge</a> *&nbsp;</td>
          <td class="paramname"> <em>de</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classgeos_1_1operation_1_1overlay_1_1OverlayOp.html#a1f2552b975ce852f0b192dc00997b131">OverlayOp::OpCode</a>&nbsp;</td>
          <td class="paramname"> <em>opCode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; geomgraph::Edge * &gt; *&nbsp;</td>
          <td class="paramname"> <em>edges</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Collect line edges which are in the result.</p>
<p>Line edges are in the result if they are not part of an area boundary, if they are in the result of the overlay operation, and if they are not covered by a result area.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>de</em>&nbsp;</td><td>the directed edge to test. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>opCode</em>&nbsp;</td><td>the overlap operation </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>edges</em>&nbsp;</td><td>the list of included line edges. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="LineBuilder_8h_source.html">LineBuilder.h</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Thu Jul 22 2010 for GEOS by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>